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

@@ -28,7 +28,7 @@ export default {
*/
addCart(config, data, event) {
if (!this.storeToken) {
this.$refs.login.open('/pages/index/index')
this.$refs.login.open(this.$util.INDEX_PAGE_URL);
return;
}
if (config == "detail" || data.is_virtual) {