fix(plan): 根据订单ID判断提交成功并统一跳转逻辑
- 修改 PlanFormContainer 成功判断:必须同时满足 code === 1 且有 order_id - 修正错误信息获取路径:res.data.msg 而非 res.data.message - 统一所有页面的 handlePlanSubmit 函数,根据实际提交结果跳转 - 移除所有 TODO 注释和模拟提交逻辑 影响文件: - src/components/plan/PlanFormContainer.vue - src/pages/index/index.vue - src/pages/product-center/index.vue - src/pages/product-detail/index.vue - src/pages/search/index.vue Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Showing
5 changed files
with
108 additions
and
70 deletions
-
Please register or login to post a comment