feat: 更新
This commit is contained in:
1 parent
c3bfb65096
commit
93082df000
1 file changed
+7
-1
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user