Kaynağa Gözat

一进页面就自动播放

shaogen1995 4 yıl önce
ebeveyn
işleme
bf34ed1aad
3 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  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)
           // console.log(999)
           this.$refs.ifr.contentWindow.changeStyle(1)
           this.$refs.ifr.contentWindow.changeStyle(1)
           this.$refs.ifr.contentWindow.onAtimeShow(this.historyData[0].yeah)
           this.$refs.ifr.contentWindow.onAtimeShow(this.historyData[0].yeah)
+          this.mypaly = true
           clearInterval(myTime)
           clearInterval(myTime)
         } catch (error) {
         } catch (error) {
           console.log(error)
           console.log(error)

+ 1 - 0
src/views/HomeThree.vue

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

+ 1 - 0
src/views/HomeTow.vue

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