diff --git a/package.json b/package.json index 5c8cb5e..7dc2d75 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,8 @@ "vue-router": "^4.2.0", "vue3-dnd": "^2.1.0", "vuedraggable": "^4.1.0", - "vuedraggable-es": "^4.1.1" + "vuedraggable-es": "^4.1.1", + "websocket": "^1.0.35" }, "devDependencies": { "@commitlint/cli": "^17.6.3", diff --git a/src/components/DesignForm/formControlPropertiNew.vue b/src/components/DesignForm/formControlPropertiNew.vue index 35e88c3..b4d902e 100644 --- a/src/components/DesignForm/formControlPropertiNew.vue +++ b/src/components/DesignForm/formControlPropertiNew.vue @@ -2593,6 +2593,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) if(controlData.value.type === "radio" || controlData.value.type === "select"){ if(controlData.value.config.optionsType==0){ if(changedOptions.length===0){ @@ -4536,7 +4538,9 @@ const radioChangeSet = (val:any) => { @change="formidChangedOptionsValue3" /> -