返回上一级
vue项目 Error in render: "TypeError: Cannot read property 'length' of undefined"
[摘要]
报错:Error in render: “TypeError: Cannot read property ’l […]
1报错:Error in render: "TypeError: Cannot read property 'length' of undefined"
解决办法:
1shopListData.attrs !== undefined && shopListData.attrs.length >0