Use toast not alert for bingo genearte msg.
This commit is contained in:
@@ -3,12 +3,7 @@
|
||||
<banner :routes="routes" />
|
||||
<router-view />
|
||||
<Footer />
|
||||
<UpdateToast
|
||||
v-if="showToast"
|
||||
:text="toastText"
|
||||
:refreshButton="refreshToast"
|
||||
v-on:closeToast="closeToast"
|
||||
/>
|
||||
<UpdateToast v-if="showToast" :text="toastText" :refreshButton="refreshToast" v-on:closeToast="closeToast" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -102,7 +102,7 @@ export default {
|
||||
}
|
||||
|
||||
if (new Set(this.colors).size == 1) {
|
||||
alert("BINGO");
|
||||
this.$toast.info({ title: "BINGO" });
|
||||
}
|
||||
|
||||
this.emitColors();
|
||||
|
||||
Reference in New Issue
Block a user