feat:0820需求
This commit is contained in:
@@ -47,7 +47,21 @@ export default {
|
||||
}
|
||||
},
|
||||
onReturnClick() {
|
||||
uni.navigateTo({url:"/pages/login_package/announcement/announcement"});
|
||||
const pages = getCurrentPages();
|
||||
if (pages && pages.length > 1) {
|
||||
uni.navigateBack({
|
||||
delta: 1,
|
||||
fail: () => {
|
||||
uni.switchTab({
|
||||
url: "/pages/home/home",
|
||||
});
|
||||
},
|
||||
});
|
||||
} else {
|
||||
uni.switchTab({
|
||||
url: "/pages/home/home",
|
||||
});
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user