diff --git a/src/components/form-designer/toolbar-panel/index.vue b/src/components/form-designer/toolbar-panel/index.vue index b825af5..bd348b6 100644 --- a/src/components/form-designer/toolbar-panel/index.vue +++ b/src/components/form-designer/toolbar-panel/index.vue @@ -599,15 +599,23 @@ }, testSetFormData() { - let fData = { - 'fuTest': [ - { - name: '上传文件测试.xlsx', - url: 'https://www.vform666.com/123.xlsx' - } + // let fData = { + // 'fuTest': [ + // { + // name: '上传文件测试.xlsx', + // url: 'https://www.vform666.com/123.xlsx' + // } + // ] + // } + // this.$refs['preForm'].setFormData(fData) + + let nfData = { + "checkbox45524": [ + 1, + 2 ] } - this.$refs['preForm'].setFormData(fData) + this.$refs['preForm'].setFormData(nfData) }, handleFormChange(fieldName, newValue, oldValue, formModel) { diff --git a/src/components/form-designer/widget-panel/index.vue b/src/components/form-designer/widget-panel/index.vue index 7db8611..3f5252a 100644 --- a/src/components/form-designer/widget-panel/index.vue +++ b/src/components/form-designer/widget-panel/index.vue @@ -13,7 +13,7 @@ :move="checkContainerMove" @end="onContainerDragEnd">
  • - {{i18n2t(`designer.widgetLabel.${ctn.type}`, `extension.widgetLabel.${ctn.type}`)}} + {{i18n2t(`designer.widgetLabel.${ctn.type}`, `extension.widgetLabel.${ctn.type}`)}}
  • @@ -24,7 +24,7 @@ :clone="handleFieldWidgetClone" ghost-class="ghost" :sort="false">
  • - {{i18n2t(`designer.widgetLabel.${fld.type}`, `extension.widgetLabel.${fld.type}`)}} + {{i18n2t(`designer.widgetLabel.${fld.type}`, `extension.widgetLabel.${fld.type}`)}}
  • @@ -35,7 +35,7 @@ :clone="handleFieldWidgetClone" ghost-class="ghost" :sort="false">
  • - {{i18n2t(`designer.widgetLabel.${fld.type}`, `extension.widgetLabel.${fld.type}`)}} + {{i18n2t(`designer.widgetLabel.${fld.type}`, `extension.widgetLabel.${fld.type}`)}}
  • @@ -48,7 +48,7 @@
  • - {{i18n2t(`designer.widgetLabel.${fld.type}`, `extension.widgetLabel.${fld.type}`)}} + {{i18n2t(`designer.widgetLabel.${fld.type}`, `extension.widgetLabel.${fld.type}`)}}
  • @@ -262,6 +262,10 @@ \ No newline at end of file + diff --git a/src/icons/svg/card.svg b/src/icons/svg/card.svg index 515441d..0e5404b 100644 --- a/src/icons/svg/card.svg +++ b/src/icons/svg/card.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/icons/svg/cascader-field.svg b/src/icons/svg/cascader-field.svg index 7c18237..ac4ef8e 100644 --- a/src/icons/svg/cascader-field.svg +++ b/src/icons/svg/cascader-field.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/icons/svg/html-text.svg b/src/icons/svg/html-text.svg index d4e5cf5..44b9963 100644 --- a/src/icons/svg/html-text.svg +++ b/src/icons/svg/html-text.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/icons/svg/slot-component.svg b/src/icons/svg/slot-component.svg index c7db9c3..6adea10 100644 --- a/src/icons/svg/slot-component.svg +++ b/src/icons/svg/slot-component.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/icons/svg/tab.svg b/src/icons/svg/tab.svg index 89b675b..b171999 100644 --- a/src/icons/svg/tab.svg +++ b/src/icons/svg/tab.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/icons/svg/time-field.svg b/src/icons/svg/time-field.svg index 83c47fc..9ad81e9 100644 --- a/src/icons/svg/time-field.svg +++ b/src/icons/svg/time-field.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/icons/svg/vue-sfc.svg b/src/icons/svg/vue-sfc.svg index bef2499..4bd20bb 100644 --- a/src/icons/svg/vue-sfc.svg +++ b/src/icons/svg/vue-sfc.svg @@ -1 +1 @@ - \ No newline at end of file +