diff --git a/admin/package.json b/admin/package.json index b8e4bcb..c71df21 100644 --- a/admin/package.json +++ b/admin/package.json @@ -39,7 +39,8 @@ "vue-echarts": "^7.0.3", "vue-router": "^4.5.1", "vue3-video-play": "^1.3.2", - "vuedraggable": "^4.1.0" + "vuedraggable": "^4.1.0", + "vxe-table": "^4.14.4" }, "devDependencies": { "@rushstack/eslint-patch": "^1.11.0", diff --git a/admin/src/components/editor/index.vue b/admin/src/components/editor/index.vue index d4dacd5..898329c 100644 --- a/admin/src/components/editor/index.vue +++ b/admin/src/components/editor/index.vue @@ -29,7 +29,7 @@ import type { IEditorConfig, IToolbarConfig } from '@wangeditor/editor' import MaterialPicker from '@/components/material/picker.vue' import { addUnit } from '@/utils/util' -import { computed, shallowRef, ref, onBeforeUnmount } from 'vue' +import { computed, shallowRef, ref, onBeforeUnmount, useTemplateRef } from 'vue' import type { CSSProperties } from 'vue' const props = withDefaults( @@ -55,7 +55,7 @@ const props = withDefaults( // 编辑器实例,必须用 shallowRef const editorRef = shallowRef() -const materialPickerRef = shallowRef>() +const materialPickerRef = useTemplateRef>('materialPickerRef') const fileType = ref('') let insertFn: any diff --git a/admin/src/components/flow/Approver.vue b/admin/src/components/flow/Approver.vue index ea967f2..c97860b 100644 --- a/admin/src/components/flow/Approver.vue +++ b/admin/src/components/flow/Approver.vue @@ -60,7 +60,7 @@ diff --git a/admin/src/views/setting/permission/role/auth.vue b/admin/src/views/setting/permission/role/auth.vue index 6bbd462..0d79326 100644 --- a/admin/src/views/setting/permission/role/auth.vue +++ b/admin/src/views/setting/permission/role/auth.vue @@ -43,7 +43,7 @@