vue-bus插件提交

This commit is contained in:
DESKTOP-5DIJMF9\admin
2024-09-27 10:50:43 +08:00
parent 36381fdae4
commit bd8dc5ab54
3 changed files with 10 additions and 4 deletions

View File

@@ -45,7 +45,7 @@ import request from '@/utils/request' // 实现 form generator 使用自己定
import { addDateRange, handleTree, parseTime, resetForm, selectDictLabel, selectDictLabels, flexWidth } from '@/utils/nladmin'
import { getValueByCode } from '@/api/system/param'
import VueBus from 'vue-bus'
LogicFlow.use(Menu)
Vue.component('tinymce', Tinymce)
@@ -67,6 +67,7 @@ Vue.use(VueHighlightJS)
Vue.use(mavonEditor)
Vue.use(permission)
Vue.use(dict)
Vue.use(VueBus)
// 全局设置控件样式https://codeantenna.com/a/0IN5FMJk5h
Element.Table.props.border = { type: Boolean, default: true }
Element.TableColumn.props.align = { type: String, default: 'center' }