Browse Source

Merge branch 'fix-dev' into develop

develop
chenJinxu 11 months ago
parent
commit
13cac1b3b0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/views/gps-card-frontend/device-setting/index.vue

+ 1
- 1
src/views/gps-card-frontend/device-setting/index.vue View File

@@ -179,7 +179,7 @@ export default {
APICore.getDrownConfig({imei: this.imei}).then(res => { APICore.getDrownConfig({imei: this.imei}).then(res => {
let data = res.data.data; let data = res.data.data;
if(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 = [ this.settingItems[4].data = [
{ name: '涉水监测:', value: data.config.enabled === 1 ? '打开': '关闭' }, { name: '涉水监测:', value: data.config.enabled === 1 ? '打开': '关闭' },
{ name: '检测周期:', value: data.config.intervallvl1 + data.config.intervallvl2 + '分钟' }, { name: '检测周期:', value: data.config.intervallvl1 + data.config.intervallvl2 + '分钟' },


Loading…
Cancel
Save