fix:bug修复
This commit is contained in:
@@ -46,16 +46,10 @@
|
||||
methods: {
|
||||
leftJump() {
|
||||
const leftPath = this.leftPath;
|
||||
if(!leftPath){
|
||||
return;
|
||||
}
|
||||
const leftPathType = this.leftPathType;
|
||||
if(leftPathType === "navigateTo"){
|
||||
// uni.navigateTo({
|
||||
// url:leftPath,
|
||||
// })
|
||||
uni.navigateBack();
|
||||
}else if(leftPathType === "switchTab"){
|
||||
}else if(leftPathType === "switchTab" && leftPath){
|
||||
uni.switchTab({
|
||||
url: leftPath,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user