|
@@ -210,6 +210,16 @@ const _sfc_main = {
|
|
|
if (res.statusCode === 200) {
|
|
|
if (res.data.code === 2e3) {
|
|
|
common_vendor.index.setStorageSync("configData", JSON.stringify(res.data.data));
|
|
|
+ common_vendor.index.navigateTo({
|
|
|
+ url: "/pages/Personal/Personal",
|
|
|
+ fail: (err) => {
|
|
|
+ console.error("页面跳转失败:", err);
|
|
|
+ common_vendor.index.showToast({
|
|
|
+ title: "页面跳转失败",
|
|
|
+ icon: "none"
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
}
|
|
|
} else {
|
|
|
common_vendor.index.hideLoading();
|
|
@@ -252,16 +262,6 @@ const _sfc_main = {
|
|
|
}
|
|
|
}
|
|
|
this.getConfig();
|
|
|
- common_vendor.index.navigateTo({
|
|
|
- url: "/pages/Personal/Personal",
|
|
|
- fail: (err) => {
|
|
|
- console.error("页面跳转失败:", err);
|
|
|
- common_vendor.index.showToast({
|
|
|
- title: "页面跳转失败",
|
|
|
- icon: "none"
|
|
|
- });
|
|
|
- }
|
|
|
- });
|
|
|
}).catch((err) => {
|
|
|
console.error("申请职位失败:", err);
|
|
|
common_vendor.index.showToast({
|