支付返回问题修复
This commit is contained in:
@@ -130,10 +130,14 @@ import * as areaApi from "@/http/api/area.js";
|
||||
import yskUtils from "ysk-utils";
|
||||
import go from "@/commons/utils/go.js";
|
||||
|
||||
import { reactive, ref, provide, computed } from "vue";
|
||||
import { reactive, ref, provide, computed,inject } from "vue";
|
||||
const websocketUtil=inject("websocketUtil")
|
||||
|
||||
const cartStore = useCartStore();
|
||||
const accountStore = useAccountStore();
|
||||
|
||||
websocketUtil.onMessage((data) => {
|
||||
cartStore.onMessage(data);
|
||||
});
|
||||
const modalData = reactive({
|
||||
show: false,
|
||||
key: "",
|
||||
@@ -233,7 +237,7 @@ function toPay() {
|
||||
isNowPay: true,
|
||||
dinnerType: cartStore.currentDinnerType,
|
||||
personCount: cartStore.personCount,
|
||||
},'redirect');
|
||||
});
|
||||
}
|
||||
|
||||
const areaList = ref([]);
|
||||
|
||||
Reference in New Issue
Block a user