Commit a1a13e3a authored by 郭志伟's avatar 郭志伟

fix(payWait): 等待页跳转调整

parent 662f7fba
......@@ -29,9 +29,11 @@ import cookies from '@/service/cookieStorage.service';
import { goUrlExtends } from './extends';
import { isApp } from '@/service/validation.service';
import { firstGroupShare } from '@/service/utils.service';
import toPayMixins from "@/mixins/toPay.mixins";
export default {
components: {},
extends: goUrlExtends,
mixins: [toPayMixins],
data() {
return {
orderNo: null,
......@@ -91,7 +93,7 @@ export default {
this.$router.replace({ name: 'paySuccess', query: { orderNo: this.orderNo } });
},
goPay() {
this.$router.replace({ name: 'pay', query: { orderNo: this.orderNo } });
this.toPay(this.orderNo);
},
async query() {
const [data, error] = await queryPayStatus({ orderNo: this.orderNo });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment