xuliangzhan / vue-element-extends

🌴 基于 ElementUI 2.x 的扩展组件(已废弃 Have been abandoned)
MIT License
494 stars 166 forks source link

property 'label' of undefined",表头不显示 #47

Closed JingGeGe77 closed 5 years ago

JingGeGe77 commented 5 years ago

--->

at src\views\test\test2.vue at src\layout\components\AppMain.vue at src\layout\Layout.vue at src\App.vue warn @ vue.js:597 logError @ vue.js:1739 globalHandleError @ vue.js:1734 handleError @ vue.js:1723 Vue._render @ vue.js:4537 updateComponent @ vue.js:2788 get @ vue.js:3140 run @ vue.js:3217 flushSchedulerQueue @ vue.js:2981 (anonymous) @ vue.js:1839 flushCallbacks @ vue.js:1760 Promise.then (async) microTimerFunc @ vue.js:1808 nextTick @ vue.js:1852 queueWatcher @ vue.js:3068 update @ vue.js:3207 notify @ vue.js:703 reactiveSetter @ vue.js:1020 (anonymous) @ vue-router.esm.js:2508 (anonymous) @ vue-router.esm.js:2507 updateRoute @ vue-router.esm.js:1997 (anonymous) @ vue-router.esm.js:1875 (anonymous) @ vue-router.esm.js:1984 step @ vue-router.esm.js:1714 step @ vue-router.esm.js:1721 step @ vue-router.esm.js:1721 runQueue @ vue-router.esm.js:1725 (anonymous) @ vue-router.esm.js:1979 step @ vue-router.esm.js:1714 (anonymous) @ vue-router.esm.js:1718 (anonymous) @ vue-router.esm.js:1964 (anonymous) @ vue-router.esm.js:1792 iterator @ vue-router.esm.js:1943 step @ vue-router.esm.js:1717 step @ vue-router.esm.js:1721 step @ vue-router.esm.js:1721 (anonymous) @ vue-router.esm.js:1718 (anonymous) @ vue-router.esm.js:1964 (anonymous) @ permission.js:46 iterator @ vue-router.esm.js:1943 step @ vue-router.esm.js:1717 step @ vue-router.esm.js:1721 runQueue @ vue-router.esm.js:1725 confirmTransition @ vue-router.esm.js:1972 transitionTo @ vue-router.esm.js:1874 replace @ vue-router.esm.js:2285 replace @ vue-router.esm.js:2538 (anonymous) @ index.js:56 poll @ vue-router.esm.js:2126 (anonymous) @ vue-router.esm.js:2112 (anonymous) @ vue-router.esm.js:1987 (anonymous) @ vue-router.esm.js:1987 (anonymous) @ vue.js:1839 flushCallbacks @ vue.js:1760 ./node_modules/core-js/modules/_invoke.js.module.exports @ _invoke.js:5 queue.(anonymous function) @ _task.js:35 run @ _task.js:21 listener @ _task.js:25 vue.js:1743 TypeError: Cannot read property 'label' of undefined at Proxy.fn (index.common.js:6263) at element-ui.common.js:12254 at Proxy.renderList (vue.js:3699) at element-ui.common.js:12224 at Proxy.renderList (vue.js:3699) at Proxy.render (element-ui.common.js:12217) at VueComponent.Vue._render (vue.js:4535) at VueComponent.updateComponent (vue.js:2788) at Watcher.get (vue.js:3140) at Watcher.run (vue.js:3217) - 代码如下 - 依赖 "vue": "^2.5.17", "element-ui": "^2.4.8", "vue-element-extends": "^1.0.9", "xe-utils": "^1.8.12",
JingGeGe77 commented 5 years ago

是element-ui 版本问题,我解决了