This commit is contained in:
liuyuan
2025-08-19 10:24:28 +08:00
parent 692a3838c2
commit e04e7953a1
5 changed files with 51 additions and 16 deletions

View File

@@ -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: {
//判断显示‘上/中/下’