Inadvertently shield El dropdown menu and report an error when you click the page at will, causing confusion of the whole HTML elements! Reported a very strange mistake!
Uncaught TypeError: Cannot read property ‘disabled’ of null
You have to have children….
<el-dropdown>
<span class="el-dropdown-link">
Dropdown menu<i class="el-icon-arrow-down el-icon---right"></i>
</span>
<! -- <el-dropdown-menu slot="dropdown">
<el-dropdown-item>goldencake</el-dropdown-item>
<el-dropdown-item>Lion's Head</el-dropdown-item>
<el-dropdown-item> Spiral noodles</el-dropdown-item>
<el-dropdown-item disabled>Double-skinned milk</el-dropdown-item>
<el-dropdown-item divided>Oyster Omelet</el-dropdown-item>
</el-dropdown-menu> -->
</el-dropdown>
Read More:
- VUE Echarts Loading Error TypeError: Cannot read property getAttribute of null?
- [Solved] Vue Error: Uncaught TypeError: Cannot read property ‘getters‘ of undefined
- [Solved] Vue + uniapp Uncaught TypeError: Cannot read property ‘getters‘ of undefined
- Vue error in render: “typeerror: cannot read property ‘length’ of undefined”
- Vue Error in callback for immediate watcher “height”: “TypeError: Cannot read property ‘style’ of
- [Solved] vue.runtime.esm.js?2b0e:619 [Vue warn]: Error in render: “TypeError: Cannot read property ‘length‘
- [Solved] VUE Use Filters Error: [Vue warn]: Error in render: “TypeError: Cannot read property ‘toFixed’ of undefined”
- El-cascader error: Cannot read property’level’ of null
- [Solved] uview u-sticky Error: Cannot read property ‘bottom‘ of null
- [Solved] TypeError: Cannot read property ‘indexOf‘ of undefined at VueComponent.resetFields
- openlayers — Cannot read property ‘slice‘ of null—Map cannot be loaded
- Wechat program typeerror: a solution to cannot read property ‘SetData’ of undefined
- [Vue warn]: Error in render: TypeError: Cannot read property ‘xxxx’of undefined
- Uniapp: TypeError: Cannot read property ‘apply‘ of undefined (H5 does not report an error, but the real machine runs with an error)
- Vue ElementUI el-pagination Error: Invalid prop: custom validator check failed for prop “pagerCount“
- Refresh 404 after packaging Vue project, uncaught syntax error: unexpected token <
- [Solved] Neo4j error: Cannot merge the following node because of null property value for ‘casualty’
- Can’t read property ‘push’ of undefined [How to Solve]
- [Solved] Cannot read properties of undefined (reading ‘ajax‘); Cannot read property ‘ajax‘ of undefined