From 5e059c9c17a6d63b6c017d2d2beb25ae227071d1 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期五, 11 四月 2025 17:33:59 +0800 Subject: [PATCH] 走航融合优化中 --- src/components/monitor/FactorRadio.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/monitor/FactorRadio.vue b/src/components/monitor/FactorRadio.vue index 262228b..c686f68 100644 --- a/src/components/monitor/FactorRadio.vue +++ b/src/components/monitor/FactorRadio.vue @@ -26,7 +26,7 @@ emits: ['change'], data() { return { - radio: defaultOptions(TYPE0) + radio: defaultOptions(TYPE0).value }; }, computed: { @@ -43,7 +43,8 @@ }, methods: { handleChange(value) { - this.$emit('change', value); + const item = this.options.find((v) => v.value == value); + this.$emit('change', item.value, item); // todo 鍦板浘3d鍥惧儚鍒囨崲灞曠ず鐩戞祴鍥犲瓙 } } -- Gitblit v1.9.3