1000字范文,内容丰富有趣,学习的好帮手!
1000字范文 > Error in nextTick TypeError Cannot read property 'children' of undefined 解决

Error in nextTick TypeError Cannot read property 'children' of undefined 解决

时间:2020-06-16 18:00:29

相关推荐

Error in nextTick TypeError Cannot read property 'children' of undefined 解决

Error in nextTick: “TypeError: Cannot read property ‘children’ of undefined” 解决

报错 Error in nextTick: “TypeError: Cannot read property ‘children’ of undefined”

解决:加一个判断 if (数据存在),再执行this.nextTick()方法

if (this.$refs.child1) {this.$nextTick(() => {this.$refs.child1.updateOpened();});}

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。