|
|
@@ -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) {
|