3.22医生

This commit is contained in:
zoujiandong
2024-03-22 16:10:50 +08:00
parent 2454bafd78
commit bdc8abf326
34 changed files with 437 additions and 137 deletions
+10 -1
View File
@@ -28,6 +28,8 @@ Component({
console.log("onBackonBackonBack");
let back_url = this.data.navbarData.back_url;
let back_url_type = this.data.navbarData.back_url_type;
console.log("--------");
console.log(back_url);
if(back_url){
if(back_url_type == 0){
app.go(back_url);
@@ -37,7 +39,14 @@ Component({
});
}
}else{
wx.navigateBack();
wx.navigateBack({
fail:function(){
wx.reLaunch({
delta:1,
url: '/Pages/yishi/index/index',
})
}
});
}
},
onGoHome() {