refactor(user): 优化用户订单相关功能
- 移除 coupon API 中的 SERVER_API_URL,直接使用相对路径 - 优化 order 页面的搜索和重置逻辑- 更新 OrderList 组件,支持空订单时显示 Empty 组件- 调整 UserCard 中的用户统计数据加载逻辑 - 修改 UserOrder 组件中的订单状态文本和链接
This commit is contained in:
@@ -71,7 +71,7 @@ function UserCard() {
|
||||
|
||||
// 加载用户统计数据
|
||||
if (data.userId) {
|
||||
// loadUserStats(data.userId)
|
||||
loadUserStats(data.userId)
|
||||
}
|
||||
|
||||
// 获取openId
|
||||
|
||||
Reference in New Issue
Block a user