提交 393797f5 authored 作者: pengxiaohui's avatar pengxiaohui

轮播出错问题

上级 ccf58fbc
...@@ -358,7 +358,7 @@ export default { ...@@ -358,7 +358,7 @@ export default {
isEn:false isEn:false
} }
}, },
created() { mounted() {
this.isEn = this.$cookies.get('lang') === 'en-US' this.isEn = this.$cookies.get('lang') === 'en-US'
}, },
methods: { methods: {
......
...@@ -51,7 +51,7 @@ export default { ...@@ -51,7 +51,7 @@ export default {
isEn: false isEn: false
} }
}, },
created() { mounted() {
this.isEn = this.$cookies.get('lang') === 'en-US' this.isEn = this.$cookies.get('lang') === 'en-US'
}, },
methods: { methods: {
......
...@@ -58,7 +58,7 @@ export default { ...@@ -58,7 +58,7 @@ export default {
isEn: false isEn: false
} }
}, },
created() { mounted() {
this.isEn = this.$cookies.get('lang') === 'en-US' this.isEn = this.$cookies.get('lang') === 'en-US'
} }
} }
......
...@@ -25,7 +25,7 @@ export default { ...@@ -25,7 +25,7 @@ export default {
indexActive: 0 indexActive: 0
} }
}, },
created() { mounted() {
this.indexActive = this.defaultActive this.indexActive = this.defaultActive
}, },
methods: { methods: {
......
...@@ -460,7 +460,7 @@ export default { ...@@ -460,7 +460,7 @@ export default {
hoverIndex: -1 hoverIndex: -1
} }
}, },
created() { mounted() {
this.tabActive = 0 this.tabActive = 0
this.tabsActive = 0 this.tabsActive = 0
if (this.$route.query.type) { if (this.$route.query.type) {
......
...@@ -363,7 +363,7 @@ export default { ...@@ -363,7 +363,7 @@ export default {
count: 1 count: 1
} }
}, },
created() { mounted() {
this.isEn = this.$cookies.get('lang') === 'en-US' this.isEn = this.$cookies.get('lang') === 'en-US'
const timer1 = setInterval(() => { const timer1 = setInterval(() => {
this.count++ this.count++
......
...@@ -1015,7 +1015,7 @@ export default { ...@@ -1015,7 +1015,7 @@ export default {
] ]
} }
}, },
created() { mounted() {
this.isEn = this.$cookies.get('lang') === 'en-US' this.isEn = this.$cookies.get('lang') === 'en-US'
}, },
methods: { methods: {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论