fix:修复导入的接口

This commit is contained in:
lhj
2024-09-24 00:29:54 +08:00
parent 3c5c4b1562
commit c2cb2ea1fe

View File

@ -11,15 +11,15 @@
<script setup lang="ts">
import { useDraggable} from 'vue-draggable-plus'
import { computed, ref } from 'vue'
import { IList } from '../type/IComponent'
import { IComponent } from '../type/IComponent'
interface Props {
modelValue: IList[]
modelValue: IComponent[]
}
const props = defineProps<Props>()
interface Emits {
(e: 'update:modelValue', value: IList[]): void
(e: 'update:modelValue', value: IComponent[]): void
}
const emits = defineEmits<Emits>()
const list = computed({