Authored by dongjunjie

店铺装修品牌列表为空判空

... ... @@ -182,7 +182,7 @@ function findDecoration(){
jsonMain.resources = $.extend(true,{},resourcesNew);
}
//装修信息中品牌内容为空,初始化品牌
if(jsonMain.resources.brandBrowse.data.length < 1){
if(jsonMain.resources.brandBrowse.data.length < 1 && jsonMain.brandList){
cloneArr(jsonMain.brandList,jsonMain.resources.brandBrowse.data);
}
//装修json克隆
... ...