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

This commit is contained in:
2026-01-07 15:51:24 +08:00
parent 6f01b3c1c6
commit 2f230d3b2c
30 changed files with 33 additions and 31 deletions

View File

@@ -12,6 +12,7 @@ export const INDEX_PAGE_URL = '/pages/index/index';
export const CATEGORY_PAGE_URL = '/pages_goods/category';
export const CONTACT_PAGE_URL = '/pages_tool/contact/contact';
export const MEMBER_PAGE_URL = '/pages_tool/member/index';
export const LOGIN_PAGE_URL = '/pages_tool/login/login';
// 当前最新的tabBar.list (参见pages.json 中的tabBar.list 配置)
export const systemTabBarList = [
@@ -117,6 +118,7 @@ export default {
CATEGORY_PAGE_URL,
CONTACT_PAGE_URL,
INDEX_PAGE_URL,
LOGIN_PAGE_URL,
/**
* 页面跳转