diff --git a/package.json b/package.json index b5b436560434b6b985f0c0e16c0a361e69b0931d..a0bf8991f029d05b088428f394056f570f9d910a 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ }, "dependencies": { "@element-plus/icons-vue": "^1.0.0", + "@vueuse/core": "^9.1.1", "@wangeditor/editor": "^5.0.0", "@wangeditor/editor-for-vue": "^5.1.10", "axios": "^0.24.0", diff --git a/src/views/pms/goods/components/GoodsCategory.vue b/src/views/pms/goods/components/GoodsCategory.vue index b8417fbd393af7b913ff91b6abee41f58356f618..e946146ab349964837337f91c514ca38bf8f8dd4 100644 --- a/src/views/pms/goods/components/GoodsCategory.vue +++ b/src/views/pms/goods/components/GoodsCategory.vue @@ -42,7 +42,7 @@ import { CaretRight } from '@element-plus/icons-vue'; // API 引用 import { listCategoryOptions } from '@/api/pms/category'; -import { computed } from '@vue/reactivity'; +import { computed } from 'vue'; import { Option } from '@/types/common'; const emit = defineEmits(['next', 'update:modelValue']);