fix(plan): 移除提交成功后的重复 toast 提示
- 移除 PlanFormContainer 中的 "提交成功" toast - 避免用户从结果页返回时看到重复提示 - 结果页已清晰显示成功/失败状态,无需额外 toast 影响文件: - src/components/plan/PlanFormContainer.vue - components.d.ts Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Showing
1 changed file
with
2 additions
and
5 deletions
| ... | @@ -339,11 +339,8 @@ const submit = async () => { | ... | @@ -339,11 +339,8 @@ const submit = async () => { |
| 339 | if (isSuccess) { | 339 | if (isSuccess) { |
| 340 | Taro.hideLoading() | 340 | Taro.hideLoading() |
| 341 | 341 | ||
| 342 | - Taro.showToast({ | 342 | + // ✅ 移除 toast,因为结果页已经显示了成功/失败状态 |
| 343 | - title: '提交成功', | 343 | + // 避免用户从结果页返回时看到重复的 toast 提示 |
| 344 | - icon: 'success', | ||
| 345 | - duration: 3000 | ||
| 346 | - }) | ||
| 347 | 344 | ||
| 348 | // 发送提交成功事件(携带 order_id) | 345 | // 发送提交成功事件(携带 order_id) |
| 349 | emit('submit', { | 346 | emit('submit', { | ... | ... |
-
Please register or login to post a comment