|
@@ -99,9 +99,8 @@
|
|
|
this.brand_id = res.data.result.brand_id;
|
|
|
this.access_time = res.data.result.access_time;
|
|
|
this.caption = res.data.result.caption
|
|
|
- this.epc_id = res.data.result.epc_id;
|
|
|
- this.token = res.data.result.list[0].token;
|
|
|
- this.param = res.data.result.list[0].param;
|
|
|
+ this.epc_id = res.data.result.epc_id;
|
|
|
+
|
|
|
if (res.data.result.restrains.length > 0) {
|
|
|
this.restrains = res.data.result.restrains;
|
|
|
this.restrainShow = true;
|
|
@@ -110,6 +109,8 @@
|
|
|
this.zlist = res.data.result.list;
|
|
|
this.restrainShow = false;
|
|
|
this.groupShow = true;
|
|
|
+ this.token = res.data.result.list[0].token;
|
|
|
+ this.param = res.data.result.list[0].param;
|
|
|
}
|
|
|
} else {
|
|
|
|
|
@@ -148,6 +149,8 @@
|
|
|
this.restrains = res.data.result.restrains;
|
|
|
this.restrainShow = true;
|
|
|
} else {
|
|
|
+ this.token = res.data.result.list[0].token;
|
|
|
+ this.param = res.data.result.list[0].param;
|
|
|
this.zzTime = res.data.result.access_time;
|
|
|
this.zlist = res.data.result.list;
|
|
|
this.restrainShow = false;
|