Showing
1 changed file
with
1 additions
and
1 deletions
@@ -182,7 +182,7 @@ function findDecoration(){ | @@ -182,7 +182,7 @@ function findDecoration(){ | ||
182 | jsonMain.resources = $.extend(true,{},resourcesNew); | 182 | jsonMain.resources = $.extend(true,{},resourcesNew); |
183 | } | 183 | } |
184 | //装修信息中品牌内容为空,初始化品牌 | 184 | //装修信息中品牌内容为空,初始化品牌 |
185 | - if(jsonMain.resources.brandBrowse.data.length < 1){ | 185 | + if(jsonMain.resources.brandBrowse.data.length < 1 && jsonMain.brandList){ |
186 | cloneArr(jsonMain.brandList,jsonMain.resources.brandBrowse.data); | 186 | cloneArr(jsonMain.brandList,jsonMain.resources.brandBrowse.data); |
187 | } | 187 | } |
188 | //装修json克隆 | 188 | //装修json克隆 |
-
Please register or login to post a comment