· 1 分钟
vue项目 Error in render: "TypeError: Cannot read property 'length' of undefined"
[摘要]
报错:Error in render: “TypeError: Cannot read property ‘l […]
报错:Error in render: "TypeError: Cannot read property 'length' of undefined"
解决办法:
shopListData.attrs !== undefined && shopListData.attrs.length >0
Share: