Przeglądaj źródła

微信支付完成后隐藏提示

zhengqiang 5 lat temu
rodzic
commit
2a5fc1dcdc
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      src/components/Pay.vue

+ 3 - 1
src/components/Pay.vue

@@ -94,7 +94,9 @@ export default {
     queryPayResult(recordId) {
       remoteApi.queryRechargeRecord(recordId).then((resp)=>{
         if(resp.result && resp.data.paymentStatus=="20"){
-           this.$router.push({
+          this.$toast.clear();
+
+          this.$router.push({
             path : '/Paystate',
             query: {
               payType : resp.data.buyType