修改了主题切换的问题,但登录故障问题还有残留

This commit is contained in:
2026-07-28 09:35:23 +08:00
parent fa781cc6a6
commit d37a93ab9e
71 changed files with 2135 additions and 115 deletions
+16 -2
View File
@@ -222,11 +222,25 @@ function ProfilePage() {
return;
}
_tarojs_taro__WEBPACK_IMPORTED_MODULE_0___default().switchTab({
url: path
url: path,
fail: function fail(err) {
console.error('switchTab fail', err);
_tarojs_taro__WEBPACK_IMPORTED_MODULE_0___default().showToast({
title: '跳转失败',
icon: 'none'
});
}
});
} else {
_tarojs_taro__WEBPACK_IMPORTED_MODULE_0___default().navigateTo({
url: path
url: path,
fail: function fail(err) {
console.error('navigateTo fail', err);
_tarojs_taro__WEBPACK_IMPORTED_MODULE_0___default().showToast({
title: '跳转失败',
icon: 'none'
});
}
});
}
}