Browse Source

一进页面就自动播放

shaogen1995 4 năm trước cách đây
mục cha
commit
bf34ed1aad
3 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 1 0
      src/views/Home.vue
  2. 1 0
      src/views/HomeThree.vue
  3. 1 0
      src/views/HomeTow.vue

+ 1 - 0
src/views/Home.vue

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

+ 1 - 0
src/views/HomeThree.vue

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

+ 1 - 0
src/views/HomeTow.vue

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