vue报错 Cannot read properties of undefined (reading 'el')
时间: 2023-08-25 08:16:08 浏览: 154
引用是一段Vue代码,它定义了一个表格列,其中包含一个图片元素。这段代码中使用了Element UI库中的el-table-column和template标签。根据提供的代码,报错"Cannot read properties of undefined (reading 'el')"表示在代码执行过程中访问了一个未定义的属性'el'。要解决这个问题,需要确保在代码中正确引入了Element UI库,并且在Vue实例中正确注册了Element UI组件。另外,还需要检查代码中是否正确使用了el-table-column和template标签,并且确保相关的属性和变量被正确定义和传递。如果问题仍然存在,还可以检查是否有其他代码错误或者与该代码段相关的其他错误。<em>1</em>
#### 引用[.reference_title]
- *1* [el-table显示图片报错Cannot read properties of undefined (reading ‘row‘)](https://blog.csdn.net/m0_46695182/article/details/127415347)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}} ] [.reference_item]
[ .reference_list ]
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)