fix:修复导入的接口
This commit is contained in:
@ -11,15 +11,15 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useDraggable} from 'vue-draggable-plus'
|
import { useDraggable} from 'vue-draggable-plus'
|
||||||
import { computed, ref } from 'vue'
|
import { computed, ref } from 'vue'
|
||||||
import { IList } from '../type/IComponent'
|
import { IComponent } from '../type/IComponent'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
modelValue: IList[]
|
modelValue: IComponent[]
|
||||||
}
|
}
|
||||||
|
|
||||||
const props = defineProps<Props>()
|
const props = defineProps<Props>()
|
||||||
interface Emits {
|
interface Emits {
|
||||||
(e: 'update:modelValue', value: IList[]): void
|
(e: 'update:modelValue', value: IComponent[]): void
|
||||||
}
|
}
|
||||||
const emits = defineEmits<Emits>()
|
const emits = defineEmits<Emits>()
|
||||||
const list = computed({
|
const list = computed({
|
||||||
|
|||||||
Reference in New Issue
Block a user