@@ -210,7 +210,13 @@ function handleButtonNavBack(button: NavBarButtonTypes, callback: () => void) {
url: theme.getVar('AppHomePage', '/pages/index/index'),
});
} else {
- uni.navigateBack();
+ uni.navigateBack({
+ fail() {
+ uni.reLaunch({
+ url: theme.getVar('AppHomePage', '/pages/index/index'),
+ });
+ },
}
callback();