补充上传修改的card-widget.vue文件。
parent
1d85321f85
commit
cfa31e1083
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue