|
@@ -150,7 +150,7 @@
|
|
|
if (storageGet('user') != null) {
|
|
|
this.isLogin = true;
|
|
|
}
|
|
|
- this.setFields();
|
|
|
+ // this.setFields();
|
|
|
let p1 = new Promise((resolve, reject) => {
|
|
|
Http.get('/api/common/index/info/cache').then((res) => {
|
|
|
this.homeData = res.data;
|
|
@@ -158,6 +158,7 @@
|
|
|
// item.height = (item.testTypeList.length / 2) * 24 + 100;
|
|
|
// return item;
|
|
|
// })
|
|
|
+ this.homeTabArr.menuArr2 = res.data.fieldList
|
|
|
resolve(res.data);
|
|
|
}).catch((error) => {
|
|
|
notify('error', error.data)
|
|
@@ -250,7 +251,7 @@
|
|
|
watch: {
|
|
|
getUserInfo(val) {
|
|
|
this.setUserInfo();
|
|
|
- this.loadData();
|
|
|
+ // this.loadData();
|
|
|
}
|
|
|
}
|
|
|
}
|