fix(buyer): 修复路由兼容与页面加载体验

- 为文章 API 添加 skipMessage 选项,由页面接管错误提示
- 添加旧路由重定向(UserInfo -> Profile, Msg -> MsgList)
- 重构文章页面,增加分页、骨架屏、分类独立加载与重试机制
- 用户权益组件接入真实登录状态与购物车、优惠券、订单数量
- 修正装修组件中收藏、足迹、领券等服务的旧地址映射
- 删除已过时的 MIGRATION-VUE3.md 迁移文档
This commit is contained in:
pikachu1995@126.com
2026-11-09 11:08:37 +08:00
parent d799b37f0c
commit fd241bc36a
8 changed files with 305 additions and 308 deletions

View File

@@ -279,6 +279,10 @@ export const router = createRouter({
component: MemberGrade,
meta: { title: "我的等级" },
},
{
path: "UserInfo",
redirect: { name: "Profile" },
},
{
path: "Profile",
name: "Profile",
@@ -307,6 +311,11 @@ export const router = createRouter({
name: "AddAddress",
component: AddAddress,
},
{
// 兼容已保存的装修顶部菜单中的旧消息地址,统一进入现有消息列表。
path: "Msg",
redirect: { name: "MsgList" },
},
{
path: "MsgList",
name: "MsgList",