又一次遇到了
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'list')
这种类型的报错,又不会改了

显示为未捕获,无法读取未定义的属性
这个要怎么去定义才不会二次报错呀

又一次遇到了
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'list')
这种类型的报错,又不会改了


const list = store.state.categroy&&store.state.categroy.list.map(...)