[摘要]
报错: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
标签vue
Miniwater
写代码,也拍照片。这个博客用来记录技术、旅途和生活里值得留下的部分。