Просмотр исходного кода

fix: 提交开票后立即返回订单列表,去掉等待和提示

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
skyline 4 дней назад
Родитель
Сommit
08a2455dfd
1 измененных файлов с 1 добавлено и 4 удалено
  1. 1 4
      charge-front/src/pages-common/invoice/invoice-form.vue

+ 1 - 4
charge-front/src/pages-common/invoice/invoice-form.vue

@@ -206,10 +206,7 @@ const submit = () => {
   applyInvoice(params)
     .then(() => {
       uni.hideLoading();
-      uni.showToast({ title: "开票申请已提交", icon: "success", duration: 2000 });
-      setTimeout(() => {
-        back();
-      }, 2000);
+      back();
     })
     .catch((err) => {
       uni.hideLoading();