소스 검색

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

kele 2 년 전
부모
커밋
c18b95b42a
1개의 변경된 파일0개의 추가작업 그리고 6개의 파일을 삭제
  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 {