chore: 使用常量来处理会员中心的路由页面路径判断

This commit is contained in:
2026-01-07 15:09:49 +08:00
parent 6956841c8b
commit b10fcf02d4
27 changed files with 93 additions and 74 deletions

View File

@@ -77,7 +77,7 @@
});
},
back() {
this.$util.redirectTo('/pages/member/index');
this.$util.redirectTo(this.$util.MEMBER_PAGE_URL);
},
revoke() {
uni.showModal({
@@ -90,7 +90,7 @@
url: '/membercancel/api/membercancel/cancelApply',
success: res => {
if (res.code >= 0) {
this.$util.redirectTo('/pages/member/index');
this.$util.redirectTo(this.$util.MEMBER_PAGE_URL);
}
}
});