按需加载引入 ElementUI 的 table 组件。
直接 copy 官网例子,页面卡死。
debug 加断点显示,页面一直在 update 渲染 UI,死循环导致页面卡死。
请问有大侠遇到过这种情况吗?
我使用 Webpack 打包,官网例子 Chrome 浏览器能正常渲染。
版本:
"element-ui": "^2.0.4"
"webpack": "1.14.0"
"vue": "2.2.6"
codepen 中使用 Vue 2.2.6 会提示
`[Vue warn]: You may have an infinite update loop in a component render function.
(found in <Transition>)`
https://github.com/ElemeFE/el...
issues 中类似问题的回复是,Vue 的版本需要 2.5.2 以上。