refactor: 更新 import 语句以使用 ES 模块
- 将 'vue/dist/vue' 替换为 'vue' 以使用 ES 模块 - 这个改动可以提高代码的可维护性和加载性能
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user