From 57902118973c8afc151422b97a556970278fb4e4 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Thu, 21 May 2026 01:09:55 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=88iot=EF=BC=89:=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=20antd=20Select=20=E7=9A=84=20v-model=20=E7=94=A8=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将场景联动执行器配置、物模型数值单位的 Select 由 EP 风格的 `:model-value` 改为 antd 标准的 `:value`;前者不被 ant-design-vue 接收,导致下拉无法选中 / 回显失效。顺手把数值单位的 `getDictOptions` 提到 computed 缓存。 --- .../rule/scene/form/sections/action-section.vue | 7 ++----- .../iot/thingmodel/modules/data-specs/number.vue | 14 +++++++++----- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/apps/web-antd/src/views/iot/rule/scene/form/sections/action-section.vue b/apps/web-antd/src/views/iot/rule/scene/form/sections/action-section.vue index db8819673..37e2eb220 100644 --- a/apps/web-antd/src/views/iot/rule/scene/form/sections/action-section.vue +++ b/apps/web-antd/src/views/iot/rule/scene/form/sections/action-section.vue @@ -226,11 +226,8 @@ function onActionTypeChange(action: Action, type: number) {