Explorar o código

微信支付完成后隐藏提示

zhengqiang %!s(int64=5) %!d(string=hai) anos
pai
achega
2a5fc1dcdc
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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