mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-11-10 19:08:58 +08:00
refactor(buyer): 优化组件结构并提升用户体验
- Main.vue 路由逻辑改为使用当前路由信息 - 简化 Header.vue 中的购物车展示,优化布局与可访问性 - GoodsClassNav.vue 改为按条件渲染分类信息 - 完善 MyOrder.vue 的订单展示与交互,优化样式与结构 - 调整 message.js,更稳妥地处理 Promise 拒绝 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -65,9 +65,9 @@ export default {
|
||||
this.$router.push({
|
||||
path: '/login',
|
||||
query: {
|
||||
rePath: this.$router.history.current.path,
|
||||
query: JSON.stringify(this.$router.history.current.query)
|
||||
}
|
||||
rePath: this.$route.path,
|
||||
query: JSON.stringify(this.$route.query || {}),
|
||||
},
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user