|
@@ -21,6 +21,11 @@ import cropperDlg2 from '@/components/cropperDlg/index2.vue'
|
|
|
import { hasPermission, getDictLabel } from '@/utils'
|
|
import { hasPermission, getDictLabel } from '@/utils'
|
|
|
import cloneDeep from 'lodash/cloneDeep'
|
|
import cloneDeep from 'lodash/cloneDeep'
|
|
|
|
|
|
|
|
|
|
+// quill-image-resize-module 内部直接访问 window.Quill.imports.parchment,
|
|
|
|
|
+// 在 webpack 打包环境下 window.Quill 未挂载会报错。必须在入口处尽早挂载。
|
|
|
|
|
+import { Quill as VueQuill } from 'vue-quill-editor'
|
|
|
|
|
+window.Quill = VueQuill
|
|
|
|
|
+
|
|
|
import VueCropper from 'vue-cropper'
|
|
import VueCropper from 'vue-cropper'
|
|
|
Vue.use(VueCropper)
|
|
Vue.use(VueCropper)
|
|
|
Vue.component('cropperDlg', cropperDlg)
|
|
Vue.component('cropperDlg', cropperDlg)
|