JavaShuo
栏目
标签
vue踩坑 Error in mounted hook: "Sortable: `el` must be an HTMLElement, not [object Null]"
时间 2021-07-11
标签
vue
javascript
前端
栏目
HTML
繁體版
原文
原文链接
因为项目需要表格实现拖拽排序效果,最开始选用了sortable.js 我的列表视图有两种方式,一种是表格方式的,一种是图示视图。 我用的v-if来控制显示表格和视图的显示方式。 一开始的时候,我默认显示的是表格形式,是没有这个报错的 后来我把初始化的视图改成了图示的, 就报了上图的错… 感觉应该是v-if的原因,el-table这时候是没有加载的,但是我在mounted函数里调用了sortable
>>阅读原文<<
相关文章
1.
[Vue warn]: Error in mounted hook: "TypeError: Cannot read property 'getAttribute' of null"
2.
SpringBoot 异常:Target object must not be null
3.
Cause: buildOutput.apkData must not be null
4.
buildOutput.apkData must not be null
5.
ClusterHostAndPorts must not be null!
6.
SpringJpa事务巨坑被踩下 The given id must not be null!
7.
关于: Error in mounted hook: "Error: Component series.line not exists. Load it first
8.
[Vue warn]: Error in mounted hook: "ReferenceError: zrUtil is not defined
9.
解决vue中的Error in mounted hook: “TypeError: handler.call is not a function“
10.
python2:TypeError: must be string without null bytes, not str
更多相关文章...
•
SQL NOT NULL 约束
-
SQL 教程
•
MySQL非空约束(NOT NULL)
-
MySQL教程
•
RxJava操作符(五)Error Handling
•
为了进字节跳动,我精选了29道Java经典算法题,带详细讲解
相关标签/搜索
mounted
htmlelement
踩坑
sortable
null
vue+el
hook
object...object
error
object
JavaScript
HTML
MyBatis教程
PHP 7 新特性
Hibernate教程
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
gitlab新建分支后,android studio拿不到
2.
Android Wi-Fi 连接/断开时间
3.
今日头条面试题+答案,花点时间看看!
4.
小程序时间组件的开发
5.
小程序学习系列一
6.
[微信小程序] 微信小程序学习(一)——起步
7.
硬件
8.
C3盒模型以及他出现的必要性和圆角边框/前端三
9.
DELL戴尔笔记本关闭触摸板触控板WIN10
10.
Java的long和double类型的赋值操作为什么不是原子性的?
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
[Vue warn]: Error in mounted hook: "TypeError: Cannot read property 'getAttribute' of null"
2.
SpringBoot 异常:Target object must not be null
3.
Cause: buildOutput.apkData must not be null
4.
buildOutput.apkData must not be null
5.
ClusterHostAndPorts must not be null!
6.
SpringJpa事务巨坑被踩下 The given id must not be null!
7.
关于: Error in mounted hook: "Error: Component series.line not exists. Load it first
8.
[Vue warn]: Error in mounted hook: "ReferenceError: zrUtil is not defined
9.
解决vue中的Error in mounted hook: “TypeError: handler.call is not a function“
10.
python2:TypeError: must be string without null bytes, not str
>>更多相关文章<<