refactor(plan): 提取计划书提交回调逻辑为 composable
- 创建 usePlanSubmit composable 统一处理弹窗关闭、状态清空、导航跳转 - 重构 index、search、product-detail、product-center 页面使用 composable - 移除重复的 handlePlanSubmit 函数实现(~100 行) 🤖 Generated with assistance from Claude Code
Showing
5 changed files
with
144 additions
and
153 deletions
src/composables/usePlanSubmit.js
0 → 100644
-
Please register or login to post a comment