修改等号bug
parent
ffeb1a50d6
commit
424faa855f
|
@ -396,9 +396,9 @@
|
|||
var statusIndex = 8
|
||||
for (var j = 0; j < statusIndex; j++) {
|
||||
if (Number(number[number.length - 1 - j])) {
|
||||
if (j = 0) {
|
||||
if (j == 0) {
|
||||
this.right2Index.push(1)
|
||||
} else if (j = 1) {
|
||||
} else if (j == 1) {
|
||||
this.right2Index.push(0)
|
||||
} else {
|
||||
this.right2Index.push(j)
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
url: this.api.sel_eqbyid + userid,
|
||||
method: 'GET'
|
||||
}).then(res => {
|
||||
// console.log(res, '根据用户id查询对应的设备数据');
|
||||
console.log(res, '根据用户id查询对应的设备数据');
|
||||
if (res.code == 200) {
|
||||
this.deviceList=res.data
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -585,9 +585,9 @@ var _default = {
|
|||
var statusIndex = 8;
|
||||
for (var j = 0; j < statusIndex; j++) {
|
||||
if (Number(number[number.length - 1 - j])) {
|
||||
if (j = 0) {
|
||||
if (j == 0) {
|
||||
this.right2Index.push(1);
|
||||
} else if (j = 1) {
|
||||
} else if (j == 1) {
|
||||
this.right2Index.push(0);
|
||||
} else {
|
||||
this.right2Index.push(j);
|
||||
|
|
|
@ -224,7 +224,7 @@ var _default = {
|
|||
url: this.api.sel_eqbyid + userid,
|
||||
method: 'GET'
|
||||
}).then(function (res) {
|
||||
// console.log(res, '根据用户id查询对应的设备数据');
|
||||
console.log(res, '根据用户id查询对应的设备数据');
|
||||
if (res.code == 200) {
|
||||
_this.deviceList = res.data;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue