Authored by ccbikai(👎🏻🍜)

limit

@@ -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;
@@ -8,3 +8,4 @@ @@ -8,3 +8,4 @@
8 @import "newsale/hot-rank"; 8 @import "newsale/hot-rank";
9 @import "bundle/index"; 9 @import "bundle/index";
10 @import "detail/limit-help"; 10 @import "detail/limit-help";
  11 +@import "detail/limit";