|
@@ -22,7 +22,7 @@
|
|
// 设置定时器--因为初始执行方法时img没有加载完,所以获取不到高度;定时一段时间等img加载之后再执行
|
|
// 设置定时器--因为初始执行方法时img没有加载完,所以获取不到高度;定时一段时间等img加载之后再执行
|
|
this.timer = setTimeout(() => {
|
|
this.timer = setTimeout(() => {
|
|
this.setSystemStyle()
|
|
this.setSystemStyle()
|
|
- }, 1000)
|
|
|
|
|
|
+ }, 100)
|
|
// this.$nextTick(() => {
|
|
// this.$nextTick(() => {
|
|
// })
|
|
// })
|
|
window.addEventListener('resize', this.setSystemStyle)
|
|
window.addEventListener('resize', this.setSystemStyle)
|