mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:43:26 +08:00
uniapp【修复】: 修复扫码跳转页面后点击反击箭头返回首页
This commit is contained in:
@@ -46,9 +46,14 @@
|
||||
const hanlderBack = () => {
|
||||
if (props.handleCustomRouteJump) {
|
||||
props.handleCustomRouteJump();
|
||||
} else {
|
||||
uni.navigateBack();
|
||||
return;
|
||||
}
|
||||
const pages = getCurrentPages()
|
||||
if (pages.length === 1) {
|
||||
handleRouteSwitchTab(RouteSwitchTabEnum.home);
|
||||
return
|
||||
}
|
||||
uni.navigateBack();
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user