From 3f40db400febd45d74fd635d49770323ad2b27cf Mon Sep 17 00:00:00 2001 From: herenshan112 Date: Wed, 21 Aug 2024 15:33:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DesignForm/assembly/index.ts | 40 +++++++++---------- .../DesignForm/formControlPropertiNew.vue | 4 +- .../DesignForm/public/form/formItem.vue | 2 +- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/src/components/DesignForm/assembly/index.ts b/src/components/DesignForm/assembly/index.ts index f1370b1..08fd617 100644 --- a/src/components/DesignForm/assembly/index.ts +++ b/src/components/DesignForm/assembly/index.ts @@ -360,26 +360,26 @@ export default [ inputStyle: {} } }, - { - type: 'description', - label: '描述说明', - unitName: '描述说明', - icon: 'number', - iconFont: 'fa-question-circle-o', - control: { - modelValue: 0 - }, - config: {}, - styles: { - divStyle: { - marginBot: "10" - }, - labelStyle: { - paddingLeft: "7", - }, - inputStyle: {} - } - }, + // { + // type: 'description', + // label: '描述说明', + // unitName: '描述说明', + // icon: 'number', + // iconFont: 'fa-question-circle-o', + // control: { + // modelValue: 0 + // }, + // config: {}, + // styles: { + // divStyle: { + // marginBot: "10" + // }, + // labelStyle: { + // paddingLeft: "7", + // }, + // inputStyle: {} + // } + // }, diff --git a/src/components/DesignForm/formControlPropertiNew.vue b/src/components/DesignForm/formControlPropertiNew.vue index 52b1989..061c9fa 100644 --- a/src/components/DesignForm/formControlPropertiNew.vue +++ b/src/components/DesignForm/formControlPropertiNew.vue @@ -2583,8 +2583,8 @@ watch(()=>controlData.value.control,(newVal) => { //radio,select添加选项时同步配置选项 watch(()=>controlData.value.options, (changedOptions:any) => { - console.log("radio,select添加选项时同步配置选项",changedOptions) - console.log("radio,select添加选项时同步配置选项------>",controlData.value) + // console.log("radio,select添加选项时同步配置选项",changedOptions) + // console.log("radio,select添加选项时同步配置选项------>",controlData.value) if(controlData.value.type === "radio" || controlData.value.type === "select"){ if(controlData.value.config.optionsType==0){ if(changedOptions.length===0){ diff --git a/src/components/DesignForm/public/form/formItem.vue b/src/components/DesignForm/public/form/formItem.vue index a7f95b8..9fd0b79 100644 --- a/src/components/DesignForm/public/form/formItem.vue +++ b/src/components/DesignForm/public/form/formItem.vue @@ -539,7 +539,7 @@ const imgUploadApiUrl = import.meta.env.VITE_APP_BASE_API+"/api/upordown" @ 功能: 判断此组件是否可见 */ const judgeIsShow = (key:string) => { - console.log("判断此组件是否可见---->",key) + // console.log("判断此组件是否可见---->",key) if(props.nodeKey != undefined && props.purview != undefined && props.purview != null && props.purview != null && props.purview != "" && props.purview != "") { if(props.purview.length < 1){ return true;