diff --git a/src/components/main/GamePlaySection.vue b/src/components/main/GamePlaySection.vue index 8fcda27..891d6d5 100644 --- a/src/components/main/GamePlaySection.vue +++ b/src/components/main/GamePlaySection.vue @@ -34,7 +34,6 @@ import { Component, Vue } from 'vue-property-decorator' import { ISpineData } from '@/utils/SpineRender' import SpineView from '@/components/main/SpineView.vue' -import 'videojs-contrib-hls' import { getBrowser } from '@/utils/browser.util' @Component({ diff --git a/src/components/main/NftSection.vue b/src/components/main/NftSection.vue index 9fb9d61..bdd9cdf 100644 --- a/src/components/main/NftSection.vue +++ b/src/components/main/NftSection.vue @@ -169,9 +169,10 @@ export default class extends Vue { this.presaleStatus = res.presale_info.state || 0 this.presaleTitle = res.presale_info.title this.countdown = res.presale_info.countdown - if (this.presaleStatus === 2 && this.countdown > 0) { + if (this.presaleStatus === 1 && this.countdown > 0) { this.beginCountdown() } + AppModule.updatePresaleStat(this.presaleStatus) AppModule.updateCanBuy(this.presaleStatus === 2 && this.numberRest > 0 && !this.buyed diff --git a/src/components/main/VideoSection.vue b/src/components/main/VideoSection.vue index 3600034..160e239 100644 --- a/src/components/main/VideoSection.vue +++ b/src/components/main/VideoSection.vue @@ -14,7 +14,6 @@