Commit facb608e authored by 赵啸非's avatar 赵啸非

修改站点请求地址

parent 48832282
......@@ -319,10 +319,12 @@ export default {
},
changeStat(val, enabled) {
this.query = Object.assign(this.query, { deviceStatus: val });
let param={"siteId":this.siteId}
param = Object.assign(param, { deviceStatus: val });
if (!enabled) {
this.query = Object.assign(this.query, {
this.query = Object.assign(this.param, {
deviceStatusList: [1, 2],
enabled: enabled,
});
......
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