refactor: 更新 import 语句以使用 ES 模块

- 将 'vue/dist/vue' 替换为 'vue' 以使用 ES 模块
- 这个改动可以提高代码的可维护性和加载性能
This commit is contained in:
Huangzhe
2025-05-26 18:09:01 +08:00
parent 09efcc851e
commit 450dec6c86

View File

@@ -8,7 +8,7 @@ import YlSwiper from '@/components/YlSwiper/Index.vue';
import EmptyContainer from '@/views/Survey/components/EmptyContainer.vue';
import emptyImg from '@/assets/img/emptyImg.png';
import { isDrag } from '../hooks/useDragEvent';
import { defineEmits } from 'vue/dist/vue';
import { defineEmits } from 'vue';
const survey = defineModel<SurveyItem>('survey');
const parentRef = defineModel<any>('parentRef');