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/5600.vue | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/pages/modal/5600.vue b/pages/modal/5600.vue index 7561166..b16d955 100644 --- a/pages/modal/5600.vue +++ b/pages/modal/5600.vue @@ -975,6 +975,32 @@ data.forEach(async (ele2, index) => { if (ele.fieldId == 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; } -- Gitblit v1.9.1