111
This commit is contained in:
@@ -111,15 +111,7 @@ export default {
|
||||
}
|
||||
},
|
||||
onShow(){
|
||||
let fixed = uni.getStorageSync('fixed');
|
||||
//如果是诊断标准子页面返回的
|
||||
if(fixed){
|
||||
this.activeTab = 1;
|
||||
}else{
|
||||
this.activeTab = 0;
|
||||
this.getPsycheTree();
|
||||
}
|
||||
this.childrenTab = 0;
|
||||
|
||||
},
|
||||
onLoad(options) {
|
||||
//清除缓存
|
||||
@@ -146,6 +138,15 @@ export default {
|
||||
text= '城市';
|
||||
}
|
||||
this.countryText = text;
|
||||
// let fixed = uni.getStorageSync('fixed');
|
||||
// //如果是诊断标准子页面返回的
|
||||
// if(fixed){
|
||||
// this.activeTab = 1;
|
||||
// }else{
|
||||
this.activeTab = 0;
|
||||
this.getPsycheTree();
|
||||
// }
|
||||
this.childrenTab = 0;
|
||||
},
|
||||
methods: {
|
||||
//判断显示‘上/中/下’
|
||||
|
||||
Reference in New Issue
Block a user