|
|
@@ -96,11 +96,15 @@ export default {
|
|
|
},
|
|
|
mounted() {
|
|
|
this.intervalId = setInterval(() => {
|
|
|
- if ((this.loadCountDown === 0) && (this.imgStateList[this.currentFrameIdx + 1] !== undefined)) {
|
|
|
+ if (this.frameLoadProgress === '100%') {
|
|
|
+ // if ((this.loadCountDown === 0) && (this.imgStateList[this.currentFrameIdx + 1] !== undefined)) {
|
|
|
this.isLoading = false
|
|
|
do {
|
|
|
this.currentFrameIdx++
|
|
|
} while (this.imgStateList[this.currentFrameIdx] === false)
|
|
|
+ if (this.currentFrameIdx >= frameNumber - 50) {
|
|
|
+ this.showLogo = true
|
|
|
+ }
|
|
|
if (this.currentFrameIdx >= frameNumber - 1) {
|
|
|
clearInterval(this.intervalId)
|
|
|
this.$router.replace({
|
|
|
@@ -111,9 +115,6 @@ export default {
|
|
|
this.isLoading = true
|
|
|
}
|
|
|
}, 41)
|
|
|
- setTimeout(() => {
|
|
|
- this.showLogo = true
|
|
|
- }, 41 * 170)
|
|
|
},
|
|
|
methods: {
|
|
|
onImgLoad(idx) {
|