mirror of
				https://github.com/vform666/variant-form3-vite.git
				synced 2025-11-04 10:31:47 +08:00 
			
		
		
		
	v-form-designer新增两个API方法:getWidgetRef、getSelectedWidgetRef。
This commit is contained in:
		@@ -35,11 +35,12 @@
 | 
			
		||||
  import i18n from "../../../utils/i18n"
 | 
			
		||||
  import refMixin from "../../../components/form-render/refMixin"
 | 
			
		||||
  import FieldComponents from '@/components/form-designer/form-widget/field-widget/index'
 | 
			
		||||
  import emitter from "@/utils/emitter";
 | 
			
		||||
 | 
			
		||||
  export default {
 | 
			
		||||
    name: "GridColItem",
 | 
			
		||||
    componentName: 'ContainerItem',
 | 
			
		||||
    mixins: [i18n, refMixin],
 | 
			
		||||
    mixins: [emitter, i18n, refMixin],
 | 
			
		||||
    components: {
 | 
			
		||||
      ...FieldComponents,
 | 
			
		||||
    },
 | 
			
		||||
 
 | 
			
		||||
@@ -29,11 +29,12 @@
 | 
			
		||||
  import i18n from "../../../utils/i18n"
 | 
			
		||||
  import refMixin from "../../../components/form-render/refMixin"
 | 
			
		||||
  import FieldComponents from '@/components/form-designer/form-widget/field-widget/index'
 | 
			
		||||
  import emitter from "@/utils/emitter";
 | 
			
		||||
 | 
			
		||||
  export default {
 | 
			
		||||
    name: "TableCellItem",
 | 
			
		||||
    componentName: "ContainerItem",
 | 
			
		||||
    mixins: [i18n, refMixin],
 | 
			
		||||
    mixins: [emitter, i18n, refMixin],
 | 
			
		||||
    components: {
 | 
			
		||||
      ...FieldComponents,
 | 
			
		||||
    },
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user