fix:修复导入的接口
This commit is contained in:
@ -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({
|
||||
|
||||
Reference in New Issue
Block a user