3.22医生
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user