diff --git a/pages/order/payResult.vue b/pages/order/payResult.vue index 1d2b73e..d76fc27 100644 --- a/pages/order/payResult.vue +++ b/pages/order/payResult.vue @@ -2,7 +2,7 @@ * @Author: ch * @Date: 2022-04-28 15:01:41 * @LastEditors: ch - * @LastEditTime: 2022-05-05 19:18:30 + * @LastEditTime: 2022-05-05 20:05:00 * @Description: file content --> @@ -58,7 +58,7 @@ export default { uin.$u.toast(error.message); return false } - if(!result.isSuccess && this.reuqestNum < 10){ + if(!result.isSuccess && this.reuqestNum < 5){ setTimeout(()=>{ this.getOrderInfo(); }, 1000) @@ -69,7 +69,7 @@ export default { }, back(){ const payType = this.$Route.query.payType; - if(payType === 'wxh5'){ + if(payType !== 'wxjsapi'){ this.$Router.back(2); }else{ this.$Router.back(); diff --git a/unpackage/dist/build/h5/index.html b/unpackage/dist/build/h5/index.html index 814b421..928f299 100644 --- a/unpackage/dist/build/h5/index.html +++ b/unpackage/dist/build/h5/index.html @@ -1,2 +1,2 @@