shaogen1995 4 лет назад
Родитель
Сommit
e1453bcbbb
3 измененных файлов с 9 добавлено и 3 удалено
  1. 3 1
      src/views/Home.vue
  2. 3 1
      src/views/HomeThree.vue
  3. 3 1
      src/views/HomeTow.vue

+ 3 - 1
src/views/Home.vue

@@ -290,7 +290,9 @@ export default {
           // console.log(999)
           this.$refs.ifr.contentWindow.changeStyle(1)
           this.$refs.ifr.contentWindow.onAtimeShow(this.historyData[0].yeah)
-          this.mypaly = true
+          setTimeout(() => {
+            this.mypaly = true
+          }, 2000)
           clearInterval(myTime)
         } catch (error) {
           console.log(error)

+ 3 - 1
src/views/HomeThree.vue

@@ -290,7 +290,9 @@ export default {
           // console.log(999)
           this.$refs.ifr.contentWindow.changeStyle(3)
           this.$refs.ifr.contentWindow.onAtimeShow(this.historyData[0].yeah)
-          this.mypaly = true
+          setTimeout(() => {
+            this.mypaly = true
+          }, 2000)
           clearInterval(myTime)
         } catch (error) {
           console.log(error)

+ 3 - 1
src/views/HomeTow.vue

@@ -290,7 +290,9 @@ export default {
           // console.log(999)
           this.$refs.ifr.contentWindow.changeStyle(2)
           this.$refs.ifr.contentWindow.onAtimeShow(this.historyData[0].yeah)
-          this.mypaly = true
+          setTimeout(() => {
+            this.mypaly = true
+          }, 2000)
           clearInterval(myTime)
         } catch (error) {
           console.log(error)