Explorar o código

fix:全部评价删除多余代码

kele %!s(int64=2) %!d(string=hai) anos
pai
achega
c18b95b42a
Modificáronse 1 ficheiros con 0 adicións e 6 borrados
  1. 0 6
      pages/goods/comment/list.vue

+ 0 - 6
pages/goods/comment/list.vue

@@ -42,7 +42,6 @@
     },
     commentId: 0,
     code: 'all',
-    commentImages: [],
   });
   // 切换选项卡
   function onTabsChange(e) {
@@ -79,11 +78,6 @@
       } else {
         state.pagination = res.data;
       }
-      state.pagination.data.forEach((item) => {
-        item.images.forEach((image) => {
-          state.commentImages.push(sheep.$url.cdn(image));
-        });
-      });
       if (state.pagination.current_page < state.pagination.last_page) {
         state.loadStatus = 'more';
       } else {