chore: 使用常量来处理首页的路由页面路径

This commit is contained in:
2026-01-07 15:40:13 +08:00
parent b10fcf02d4
commit 6f01b3c1c6
39 changed files with 57 additions and 56 deletions

View File

@@ -145,7 +145,7 @@ export default {
if (isJump && route != 'pages/index/index') {
uni.setStorageSync('manual_change_store', true); // 手动切换门店
this.$store.dispatch('getCartNumber'); //重新获取购物车数据
this.$util.redirectTo('/pages/index/index');
this.$util.redirectTo(this.$util.INDEX_PAGE_URL);
}
}
},