Showing
2 changed files
with
3 additions
and
0 deletions
@@ -847,6 +847,8 @@ const getLimitProductData = (uid, limitProductCode) => { | @@ -847,6 +847,8 @@ const getLimitProductData = (uid, limitProductCode) => { | ||
847 | obj.description = result.data.description; | 847 | obj.description = result.data.description; |
848 | obj.attaches = []; | 848 | obj.attaches = []; |
849 | 849 | ||
850 | + result.data.attachment = result.data.attachment || []; | ||
851 | + | ||
850 | for (let item of result.data.attachment) { | 852 | for (let item of result.data.attachment) { |
851 | if (item.isDefault === 1) { // 排除默认图片 | 853 | if (item.isDefault === 1) { // 排除默认图片 |
852 | continue; | 854 | continue; |
-
Please register or login to post a comment