Sfoglia il codice sorgente

平台结算成功后返回上一级

@dongkboy 3 mesi fa
parent
commit
30428c4e8b
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      src/views/platform/ticket.vue

+ 3 - 0
src/views/platform/ticket.vue

@@ -543,6 +543,9 @@ const handelComfirm = (formEl: FormInstance | undefined) => {
             type: 'success'
           })
           settlementDialog.value = false
+          setTimeout(() => {
+            router.back()
+          }, 1000)
         } else {
         }
       })