|
@@ -10,7 +10,7 @@ import '@/assets/styles/ruoyi.scss'
|
|
|
import App from './App'
|
|
|
import store from './store'
|
|
|
import router from './router'
|
|
|
-import permission from './directive/permission'
|
|
|
+import directive from './directive'
|
|
|
|
|
|
import './assets/icons'
|
|
|
import './permission'
|
|
@@ -20,6 +20,12 @@ import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels,
|
|
|
import Pagination from "@/components/Pagination";
|
|
|
|
|
|
import RightToolbar from "@/components/RightToolbar"
|
|
|
+
|
|
|
+import Editor from "@/components/Editor"
|
|
|
+
|
|
|
+import FileUpload from "@/components/FileUpload"
|
|
|
+
|
|
|
+import ImageUpload from "@/components/ImageUpload"
|
|
|
|
|
|
import DictTag from '@/components/DictTag'
|
|
|
|
|
@@ -52,8 +58,11 @@ Vue.prototype.msgInfo = function (msg) {
|
|
|
Vue.component('DictTag', DictTag)
|
|
|
Vue.component('Pagination', Pagination)
|
|
|
Vue.component('RightToolbar', RightToolbar)
|
|
|
+Vue.component('Editor', Editor)
|
|
|
+Vue.component('FileUpload', FileUpload)
|
|
|
+Vue.component('ImageUpload', ImageUpload)
|
|
|
|
|
|
-Vue.use(permission)
|
|
|
+Vue.use(directive)
|
|
|
Vue.use(VueMeta)
|
|
|
|
|
|
|