|
|
|
@ -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" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div style="display:flex" v-if="typeof(controlData.control.optionsValue3Formid)!='undefined' && typeof(asfasfFieldTreeOptionsValue3)!='undefined' && controlData.control.optionsValue3Formid!=''"><span style="font-size: larger;margin-left: 35px;margin-right: 15px;">请选择字段</span> |
|
|
|
<div style="display:flex" v-if="typeof(controlData.control.optionsValue3Formid)!='undefined' && typeof(asfasfFieldTreeOptionsValue3)!='undefined' && controlData.control.optionsValue3Formid!=''"> |
|
|
|
|
|
|
|
<span style="font-size: larger;margin-left: 35px;margin-right: 15px;">请选择字段</span> |
|
|
|
<!-- |
|
|
|
|
|
|
|
|
|
|
|
|