el-checkbox-group TypeError: Cannot read properties of undefined (reading 'length')
时间: 2023-10-24 17:31:02 浏览: 218
基于freeRTOS和STM32F103x的手机远程控制浴室温度系统设计源码
这个错误是由于在渲染el-checkbox-group组件时出现了一个不能读取undefined的属性'length'。根据提供的引用,错误发生在Vue组件的计算属性isLimitDisabled()和isDisabled()中。这个错误通常发生在数据未正确初始化或传递给组件时。请检查你的数据是否正确初始化并在组件中正确传递。你可以使用Vue开发者工具或打印日志来进一步调试和查找错误的原因。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [element-ui——Error in render: “TypeError: Cannot read properties of undefined (reading ‘length‘)...](https://blog.csdn.net/qq_43201350/article/details/121416791)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [elementUI中的el-checkbox-group报错Cannot read property ‘length‘ of undefined](https://blog.csdn.net/HandsomestLiu/article/details/110821804)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文