由于组件在mounted中没有加载完全,需要延迟获取元素
在mounted中
this.$nextTick(()=>{
这里再调用this.$refs.XX 或document.getElementById['XX']
})
今日头条极速版邀请码【941363528】
抖音极速版邀请码【8121029958】
快手极速版邀请码【426942961】
番茄听书邀请码 【453330438】
番茄免费小说邀请码【7556736071】
由于组件在mounted中没有加载完全,需要延迟获取元素
在mounted中
this.$nextTick(()=>{
这里再调用this.$refs.XX 或document.getElementById['XX']
})
今日头条极速版邀请码【941363528】
抖音极速版邀请码【8121029958】
快手极速版邀请码【426942961】
番茄听书邀请码 【453330438】
番茄免费小说邀请码【7556736071】