chore: 使用常量来处理登录的路由页面路径
This commit is contained in:
@@ -128,7 +128,7 @@ export default {
|
||||
if (this.stepShow > 0) {
|
||||
this.stepShow -= 1;
|
||||
} else {
|
||||
this.$util.redirectTo('/pages_tool/login/login', '', 'redirectTo');
|
||||
this.$util.redirectTo(this.$util.LOGIN_PAGE_URL, '', 'redirectTo');
|
||||
}
|
||||
},
|
||||
// 下一步
|
||||
@@ -318,7 +318,7 @@ export default {
|
||||
uni.removeStorage({
|
||||
key: 'forgot_password_token'
|
||||
});
|
||||
this.$util.redirectTo('/pages_tool/login/login', {}, 'redirectTo');
|
||||
this.$util.redirectTo(this.$util.LOGIN_PAGE_URL, {}, 'redirectTo');
|
||||
}, 1000);
|
||||
} else {
|
||||
this.stepShow -= 1;
|
||||
|
||||
Reference in New Issue
Block a user