refactor(mine): 重构订单相关页面和组件
- 更新 ORDER_LIST 常量,增加"全部"和"已完成"状态 - 调整订单状态码,使其与后端保持一致 - 优化订单列表组件,使用 filter 过滤无效状态 - 重构订单详情页面,提高代码可读性和维护性 - 统一使用 Object.freeze 冻结常量,防止意外修改
Showing
4 changed files
with
21 additions
and
14 deletions
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment