补充上传修改的card-widget.vue文件。

master
vdpAdmin 2022-04-12 19:30:11 +08:00
parent 1d85321f85
commit cfa31e1083
1 changed files with 6 additions and 1 deletions

View File

@ -37,11 +37,13 @@
import Draggable from 'vuedraggable'
import ContainerWrapper from "@/components/form-designer/form-widget/container-widget/container-wrapper"
import FieldComponents from '@/components/form-designer/form-widget/field-widget/index'
import refMixinDesign from "@/components/form-designer/refMixinDesign"
export default {
name: "card-widget",
componentName: 'ContainerWidget',
mixins: [i18n, containerMixin],
mixins: [i18n, containerMixin, refMixinDesign],
inject: ['refList'],
components: {
Draggable,
ContainerWrapper,
@ -64,6 +66,9 @@
},
},
created() {
this.initRefList()
},
methods: {
/**
* 检查接收哪些组件拖放如不接受某些组件拖放则根据组件类型判断后返回false