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/ 普通对象 类型的值

相关推荐
Lee川20 分钟前
从零构建现代化登录界面:React + Tailwind CSS 前端工程实践
前端·react.js
Awu122720 分钟前
⚡精通 Claude 第 1 课:掌握 Slash Commands
前端·人工智能·ai编程
竹林81821 分钟前
从ethers.js迁移到Viem:我在重构DeFi前端时踩过的那些坑
前端·javascript
码云之上25 分钟前
上下文工程实战:解决多轮对话中的"上下文腐烂"问题
前端·node.js·agent
小小弯_Shelby27 分钟前
webpack优化:Vue配置compression-webpack-plugin实现gzip压缩
前端·vue.js·webpack
小村儿33 分钟前
连载04-CLAUDE.md ---一起吃透 Claude Code,告别 AI coding 迷茫
前端·后端·ai编程
攀登的牵牛花40 分钟前
我把 Gemma4:26b 装进 M1 Pro 后,才看清 AI 编程最贵的不是模型费,而是工作流
前端·agent
前端郭德纲41 分钟前
JavaScript Object.freeze() 详解
开发语言·javascript·ecmascript
大漠_w3cpluscom42 分钟前
现代 CSS 的新力量
前端
魏嗣宗1 小时前
Claude Code 启动的那 200 毫秒里发生了什么
前端·claude