修改探索弹窗不弹出问题

This commit is contained in:
yuyongdong 2024-04-12 23:19:49 +08:00
parent 4aa41032ff
commit 0032368410
2 changed files with 4 additions and 5 deletions

View File

@ -4,12 +4,12 @@
<el-dialog class="Explore-dialog" :visible.sync="ExploreDialogVisible" :modal="false" :before-close="ExploreDialog"> <el-dialog class="Explore-dialog" :visible.sync="ExploreDialogVisible" :modal="false" :before-close="ExploreDialog">
<div v-if="eventName == 'explore_event'"> <div v-if="eventName == 'explore_event'">
<div class="top"> <div class="top">
<div class="top-title" v-if="awardData.chest.length != 0">{{ dialogTitle }}</div> <div class="top-title" v-if="awardData.chests.length != 0">{{ dialogTitle }}</div>
<div class="top-close" @click="ExploreDialog"> <div class="top-close" @click="ExploreDialog">
<img src="./../../assets/common/CloseButton.png" alt=""> <img src="./../../assets/common/CloseButton.png" alt="">
</div> </div>
</div> </div>
<div class="content" v-if="awardData.chest.length != 0"> <div class="content" v-if="awardData.chests.length != 0">
<div class="content-points"> <div class="content-points">
<div>Points</div> <div>Points</div>
<div> <div>

View File

@ -870,9 +870,8 @@ export default {
} else { } else {
this.dialogTitle = 'Congratulations' this.dialogTitle = 'Congratulations'
} }
this.ExploreDialogVisible = true
this.getGameStat() this.getGameStat()
this.ExploreDialogVisible = true
}, },
// //
@ -880,8 +879,8 @@ export default {
this.awardData = val this.awardData = val
this.eventName = 'help_event' this.eventName = 'help_event'
this.dialogTitle = 'Got lucky and success full Boosting' this.dialogTitle = 'Got lucky and success full Boosting'
this.ExploreDialogVisible = true
this.getGameStat(); this.getGameStat();
this.ExploreDialogVisible = true
}, },
// //