1、错误描述

 [Vue warn]: Error in render: \"TypeError: Cannot read property \'0\' of undefined         vue.runtime.esm.js:587
\"
found in
---> 
<ElTableFooter>
  <ElTable>
         
   <CurrentStock> at src\\views\\table\\controlCenter\\CurrentStock.vue
           
    <ElRow>
             
     <ControlCenter> at src\\views\\table\\controlCenter\\index.vue
               
      <AppMain> at src\\views\\layout\\components\\AppMain.vue
                 
        <Layout> at src\\views\\layout\\Layout.vue
                   
           <App> at src\\App.vue
                     
             <Root>

TypeError: Cannot read property \'0\' of undefined                    vue.runtime.esm.js:1737 
    
at element-ui.common.js:13072
    
at Proxy.renderList (vue.runtime.esm.js:3701)
    
at Proxy.render (element-ui.common.js:13060)
    
at VueComponent.Vue._render (vue.runtime.esm.js:4540)
    
at VueComponent.updateComponent (vue.runtime.esm.js:2784)
    
at Watcher.get (vue.runtime.esm.js:3138)
    
at Watcher.run (vue.runtime.esm.js:3215)
    
at flushSchedulerQueue (vue.runtime.esm.js:2977)
    
at Array.<anonymous> (vue.runtime.esm.js:1833)
    
at flushCallbacks (vue.runtime.esm.js:1754)
\"\"
TypeError: Cannot read property \'0\' of undefined

2、错误原因

 

3、解决办法

收藏 打印