富文本组件Editor 改用全局注册,移除代码生成单独注册

This commit is contained in:
不做码农
2021-11-29 20:13:26 +08:00
parent 431c1460e6
commit 5e65941e15
5 changed files with 11 additions and 16 deletions

View File

@@ -21,6 +21,8 @@ import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels,
import Pagination from "@/components/Pagination";
//自定义表格工具扩展
import RightToolbar from "@/components/RightToolbar"
// 富文本组件
import Editor from "@/components/Editor";
// 字典标签组件
import DictTag from '@/components/DictTag'
// 字典数据组件
@@ -53,7 +55,7 @@ Vue.prototype.msgInfo = function(msg) {
Vue.component('Pagination', Pagination)
Vue.component('RightToolbar', RightToolbar)
Vue.component('DictTag', DictTag)
Vue.component('Editor', Editor)
Vue.use(permission)
Vue.use(Element, {