From c54802aead926ec66f2c1263ce1615aee0623728 Mon Sep 17 00:00:00 2001 From: cuiqian2004 <cuiqian2004@163.com> Date: 星期五, 16 八月 2024 17:26:01 +0800 Subject: [PATCH] mobox3 端口配置 --- pages/modal/5601.vue | 61 ++++++++++++++++++++++++++++++ 1 files changed, 61 insertions(+), 0 deletions(-) diff --git a/pages/modal/5601.vue b/pages/modal/5601.vue index f9e3e05..114018f 100644 --- a/pages/modal/5601.vue +++ b/pages/modal/5601.vue @@ -1069,6 +1069,35 @@ ele2 .attr ) { + if (ele.name == + 'Select' && + ele2 + .choice_list + ) { + const + dictItemList = []; + const + choiceList = + ele2 + .choice_list || + []; + for (let d in + choiceList) { + const + val = + choiceList[ + d + ]; + dictItemList + .push({ + text: val, + value: val + }); + } + ele.dict = + dictItemList; + } + ele.value = ele2 .value; @@ -1092,6 +1121,38 @@ ele2 .attr ) { + if (col + .name == + 'Select' && + ele2 + .choice_list + ) { + const + dictItemList = []; + const + choiceList = + ele2 + .choice_list || + []; + for ( + let d in + choiceList + ) { + const + val = + choiceList[ + d + ]; + dictItemList + .push({ + text: val, + value: val + }); + } + col.dict = + dictItemList; + } + col.value = ele2 .value; -- Gitblit v1.9.1