feat: 更新

This commit is contained in:
dengtongyu committed 2023-04-18 23:03:50 +08:00
1 parent ef8081b838
commit ca63af28cc
13 files changed
+138 -26

No files matched your search

+7 -2
View File
@@ -1,4 +1,4 @@
import { ref } from "vue";
import { ref, computed } from "vue";
import { defineStore } from "pinia";
import { showFailToast } from "vant";
import { chargeprodList, chargeUser } from "@/api/index";
@@ -50,7 +50,12 @@ const pay = defineStore("pay", () => {
});
};
return { openId, dataId, channel, getChargeprod, getChargeUser };
const prizeList = computed(() => {
return payLsit.value;
});
return { openId, dataId, channel, getChargeprod, getChargeUser, prizeList };
});
export default pay;