代码重构

This commit is contained in:
USER-20220102CG\noblelift
2022-08-29 16:09:25 +08:00
parent db6b9943bf
commit 54e46e8d05
1295 changed files with 117203 additions and 5313 deletions

View File

@@ -5,10 +5,10 @@ import Cookies from 'js-cookie'
import 'normalize.css/normalize.css'
import Element from 'element-ui'
//列自适应宽度:https://github.com/legendJaden/AFTableColumn
// 列自适应宽度:https://github.com/legendJaden/AFTableColumn
import AFTableColumn from 'af-table-column'
//可编辑grid插件
// 可编辑grid插件
import 'xe-utils'
import VXETable from 'vxe-table'
import 'vxe-table/lib/style.css'
@@ -22,7 +22,6 @@ import 'mavon-editor/dist/css/index.css'
// 数据字典
import dict from './components/Dict'
import scroll from 'vue-seamless-scroll'
Vue.use(scroll)
@@ -48,17 +47,26 @@ import 'echarts-gl'
import 'jquery'
// 全局引入LogicFlow
import LogicFlow from '@logicflow/core'
import { Menu } from '@logicflow/extension'
import '@logicflow/extension/lib/style/index.css'
LogicFlow.use(Menu)
Vue.use(AFTableColumn)
Vue.use(VXETable)
Vue.prototype.$XModal = VXETable.modal
Vue.use(VueHighlightJS)
Vue.use(mavonEditor)
Vue.use(permission)
Vue.use(dict)
// 全局设置控件样式https://codeantenna.com/a/0IN5FMJk5h
Element.Table.props.border = { type: Boolean, default: true }
Element.TableColumn.props.align = { type: String, default: 'center' }
Vue.use(Element, {
size: Cookies.get('size') || 'small' // set element-ui default size
size: Cookies.get('size') || 'mini' // set element-ui default size
})
Vue.config.productionTip = false