From 1dea4ddf50a49c64b03f98a5988441101700aa3b Mon Sep 17 00:00:00 2001 From: chenJinxu <2183691628@qq.com> Date: Wed, 22 Nov 2023 18:01:49 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E4=BF=AE=E5=A4=8D=20=E6=B6=89=E6=B0=B4?= =?UTF-8?q?=E7=9B=91=E6=B5=8B=E5=BC=80=E5=85=B3=E6=98=BE=E7=A4=BA=E4=B8=8D?= =?UTF-8?q?=E6=AD=A3=E7=A1=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/gps-card-frontend/device-setting/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/gps-card-frontend/device-setting/index.vue b/src/views/gps-card-frontend/device-setting/index.vue index 5e4ec9c..959cbd0 100644 --- a/src/views/gps-card-frontend/device-setting/index.vue +++ b/src/views/gps-card-frontend/device-setting/index.vue @@ -179,7 +179,7 @@ export default { APICore.getDrownConfig({imei: this.imei}).then(res => { let data = res.data.data; if(data) { - this.settingItems[4].text = this.concatTitle('危险区域监测', data.enabled === 1 ? '打开': '关闭', data.enabled === 1 ? '耗电高' : '耗电低'); + this.settingItems[4].text = this.concatTitle('危险区域监测', data.config.enabled === 1 ? '打开': '关闭', data.config.enabled === 1 ? '耗电高' : '耗电低'); this.settingItems[4].data = [ { name: '涉水监测:', value: data.config.enabled === 1 ? '打开': '关闭' }, { name: '检测周期:', value: data.config.intervallvl1 + data.config.intervallvl2 + '分钟' },