From 10462e52188795869cacae8e9e2e17a52212efec Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Sat, 7 Oct 2023 14:50:08 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=82=B9=E6=A3=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/modules/equip-inspection.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pages/modules/equip-inspection.vue b/pages/modules/equip-inspection.vue index 1440a6a..7c98d1d 100644 --- a/pages/modules/equip-inspection.vue +++ b/pages/modules/equip-inspection.vue @@ -66,11 +66,17 @@ /** 获取设备下拉框 */ async _deviceInfo () { let res = await deviceInfo() + res.map(el => { + this.$set(el, 'text', el.label) + }) this.options1 = [...res] }, /** 获取设备状态下拉框 */ async _deviceStatus () { let res = await deviceStatus() + res.map(el => { + this.$set(el, 'text', el.label) + }) this.options2 = [...res] }, /** 确定 */