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

@@ -157,7 +157,7 @@ export default {
/* 点赞 */
giveLike(noteId, index) {
if (!this.storeToken) {
this.$refs.login.open('/pages/index/index');
this.$refs.login.open(this.$util.INDEX_PAGE_URL);
return;
}