JavaShuo
栏目
标签
Cannot read property '$el' of undefined at VueComponent
时间 2020-01-12
标签
read
property
undefined
vuecomponent
繁體版
原文
原文链接
在.vue文件的template标签里面引用子组件,以下所示html <scroll class="middle-r" ref="lyriclist" :data="currentLyric && currentLyric.lines"></scroll> 而后再<script>中的methods属性中的一个方法去获取到该对象:因为<scroll>是一个子组件,经过this.$refs.lyric
>>阅读原文<<
相关文章
1.
TypeError: Cannot read property 'indexOf' of undefined at VueComponent.resetField
2.
TypeError: Cannot read property '$router' of undefined at eval
3.
TypeError: Cannot read property '$$' of undefined at HTMLElement._attached.wx.getPlatform._touchstar
4.
Cannot read property 'field' of undefined (at _8 (jquery.numberbox.js:33))
5.
Cannot read property 'globalData' of undefined;at App onLaunch function
6.
Cannot read property 'thisCompilation' of undefined
7.
Cannot read property 'newLine' of undefined
8.
Cannot read property '_withTask' of undefined
9.
TypeError: Cannot read property 'compilation' of undefined
10.
"TypeError: Cannot read property ‘_wrapper’ of undefined"
更多相关文章...
•
ASP Read 方法
-
ASP 教程
•
ADO Property 对象
-
ADO 教程
•
为了进字节跳动,我精选了29道Java经典算法题,带详细讲解
•
Java 8 Stream 教程
相关标签/搜索
vuecomponent
property
undefined
read
read%
c#property
core'&&cannot
2.2.5&undefined
cannot&nbs
Spring教程
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
Android Studio3.4中出现某个项目全部乱码的情况之解决方式
2.
Packet Capture
3.
Android 开发之 仿腾讯视频全部频道 RecyclerView 拖拽 + 固定首个
4.
rg.exe占用cpu导致卡顿解决办法
5.
X64内核之IA32e模式
6.
DIY(也即Build Your Own) vSAN时,选择SSD需要注意的事项
7.
选择深圳网络推广外包要注意哪些问题
8.
店铺运营做好选款、测款的工作需要注意哪些东西?
9.
企业找SEO外包公司需要注意哪几点
10.
Fluid Mask 抠图 换背景教程
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
TypeError: Cannot read property 'indexOf' of undefined at VueComponent.resetField
2.
TypeError: Cannot read property '$router' of undefined at eval
3.
TypeError: Cannot read property '$$' of undefined at HTMLElement._attached.wx.getPlatform._touchstar
4.
Cannot read property 'field' of undefined (at _8 (jquery.numberbox.js:33))
5.
Cannot read property 'globalData' of undefined;at App onLaunch function
6.
Cannot read property 'thisCompilation' of undefined
7.
Cannot read property 'newLine' of undefined
8.
Cannot read property '_withTask' of undefined
9.
TypeError: Cannot read property 'compilation' of undefined
10.
"TypeError: Cannot read property ‘_wrapper’ of undefined"
>>更多相关文章<<