Browse Source

Merge branch 'develop'

master
chenJinxu 1 year ago
parent
commit
d6e8c54547
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