Commit c47a3a11 authored by van.chen's avatar van.chen

增加网关电量

parent 70e5fd2a
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
"ng": "ng", "ng": "ng",
"start": "npm run color-less && ng serve -o", "start": "npm run color-less && ng serve -o",
"hmr": "npm run color-less && ng serve -c=hmr", "hmr": "npm run color-less && ng serve -c=hmr",
"build": "npm run color-less && ng build --prod --build-optimizer --c=production", "build": "npm run color-less && ng build --prod --build-optimizer --c=production --aot",
"analyze": "ng build --prod --build-optimizer --stats-json", "analyze": "ng build --prod --build-optimizer --stats-json",
"lint": "npm run lint:ts && npm run lint:style", "lint": "npm run lint:ts && npm run lint:style",
"lint:ts": "tslint -p src/tsconfig.app.json -c tslint.json 'src/**/*.ts'", "lint:ts": "tslint -p src/tsconfig.app.json -c tslint.json 'src/**/*.ts'",
......
...@@ -85,6 +85,11 @@ export class ProProfileAdvancedComponent implements OnInit { ...@@ -85,6 +85,11 @@ export class ProProfileAdvancedComponent implements OnInit {
label: '湿度', label: '湿度',
per: '%rH', per: '%rH',
value: 'humid' value: 'humid'
}, {
icon: 11,
label: '网关电量',
per: '%',
value: 'bat'
}]; }];
constructor(public msg: NzMessageService, private http: _HttpClient, private message: NzMessageService, private router: Router) {} constructor(public msg: NzMessageService, private http: _HttpClient, private message: NzMessageService, private router: Router) {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment