|
@@ -54,7 +54,23 @@ const _sfc_main = {
|
|
|
handleConfirm() {
|
|
|
if (this.isLastSlide) {
|
|
|
common_vendor.index.navigateTo({
|
|
|
- url: "/pages/interview/interview"
|
|
|
+ url: "/pages/interview/interview",
|
|
|
+ success: () => {
|
|
|
+ console.log("跳转成功");
|
|
|
+ },
|
|
|
+ fail: (err) => {
|
|
|
+ console.error("跳转失败:", err);
|
|
|
+ common_vendor.index.redirectTo({
|
|
|
+ url: "/pages/interview/interview",
|
|
|
+ fail: (redirectErr) => {
|
|
|
+ console.error("redirectTo 也失败了:", redirectErr);
|
|
|
+ common_vendor.index.showToast({
|
|
|
+ title: "页面跳转失败,请重试",
|
|
|
+ icon: "none"
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
});
|
|
|
} else {
|
|
|
common_vendor.index.showToast({
|