feat: 更新

This commit is contained in:
dengtongyu committed 2023-04-28 19:39:14 +08:00
1 parent c3bfb65096
commit 93082df000
1 file changed
+7 -1
+7 -1
View File
@@ -149,7 +149,12 @@ export default {
"SetCanLottery" "SetCanLottery"
// "SetPrizeItemList" // "SetPrizeItemList"
]), ]),
...mapActions(["getQueryPrizeInfo", "runLottery", "postBuyPack"]), ...mapActions([
"getQueryPrizeInfo",
"runLottery",
"postBuyPack",
"getQueryTicketNum"
]),
queryPrizeInfo() { queryPrizeInfo() {
this.getQueryPrizeInfo().then(list => { this.getQueryPrizeInfo().then(list => {
this.prizes = this.configPrizes(list); this.prizes = this.configPrizes(list);
@@ -172,6 +177,7 @@ export default {
this.LotteryError = true; this.LotteryError = true;
this.LotteryErrorMsg = message; this.LotteryErrorMsg = message;
} }
this.getQueryTicketNum();
}) })
.catch(() => { .catch(() => {
this.request = true; this.request = true;