VUE+element UI :TypeError: Cannot read properties of null (reading ‘setAttribute‘)

VUE+element UI :TypeError: Cannot read properties of null (reading ‘setAttribute‘),第1张

报错代码:

element-ui.common.js?ccbf:2432

Uncaught TypeError: Cannot read properties of null (reading 'setAttribute')
    at VueComponent.removeTabindex (element-ui.common.js?ccbf:2432:1)
    at VueComponent.hide (element-ui.common.js?ccbf:2358:1)
    at Object.eval [as documentHandler] (clickoutside.js?2126:39:1)
    at eval (clickoutside.js?2126:25:1)
    at Array.forEach ()

    at HTMLDocument.eval (clickoutside.js?2126:24:1)

报错原因:

疑似,ElCollapseItem组件的父组件ElCollapse在封装的组件内部

解决方案:

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1322941.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-12
下一篇 2022-06-12

发表评论

登录后才能评论

评论列表(0条)

保存