소스 검색

去除log

张田田 5 달 전
부모
커밋
9d6aeba889
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 4
      miniprogram/pages/home/home.ts

+ 0 - 4
miniprogram/pages/home/home.ts

@@ -321,7 +321,6 @@ Page({
   },
   getNotDealList() {
     getNotDealLists().then((res) => {
-      console.log(res, "res===获取通知列表");
       if (res.length > 0) {
         this.setData({
           popupList: res,
@@ -735,10 +734,8 @@ Page({
         total,
         page: currentPage,
       } = await getShortScienceList(page, this.data.scienceListSize);
-      console.log("datas", data, "newList:", this.data.scienceList);
       const newList = reset ? data : [...this.data.scienceList, ...data];
       const hasMore = newList.length < total;
-
       this.setData({
         scienceList: newList,
         scienceListTotal: total,
@@ -746,7 +743,6 @@ Page({
         scienceListHasMore: hasMore,
         scienceListLoading: false,
       });
-      console.log(this.data.scienceList, "this.data.scienceList");
       // 分配卡片到两列,实现瀑布流布局
       this.distributeCardsToColumns(newList, reset);
     } catch (error) {