el-table 解决一渲染数据页面就卡死

el-table 解决一渲染数据页面就卡死

报错:

bash 复制代码
Uncaught (in promise) Maximum recursive updates exceeded in component <ElTableBody>. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.

解决方式:

检查一下el-table列的prop属性是不是绑定了数组 , el-table 的单元格渲染逻辑中,只会处理 字符串 / 数字 / 布尔 /null/ 普通对象 类型的值

相关推荐
bjzhang752 小时前
使用 HTML + JavaScript 实现单会议室周日历管理系统
前端·javascript·html
weixin_431600442 小时前
开发中遇到需要对组件库组件结构调整的两种落地方案实践
前端·组件库
Code知行合壹2 小时前
Vue3入门
前端·javascript·vue.js
LawrenceLan2 小时前
17.Flutter 零基础入门(十七):StatelessWidget 与 State 的第一次分离
开发语言·前端·flutter·dart
酷酷的鱼2 小时前
Expo Router vs 原生React Native 完全对比指南
javascript·react native·react.js
桃子叔叔2 小时前
react-wavesurfer录音组件2:前端如何处理后端返回的仅Blob字段
前端·react.js·状态模式
nie_xl2 小时前
VS/TRAE中设置本地maven地址的方法
运维·服务器·前端
烧饼Fighting2 小时前
统信UOS操作系统离线安装ffmpeg
开发语言·javascript·ffmpeg