增加支付延迟,修复首页公告不显示
This commit is contained in:
@@ -165,6 +165,7 @@ onReachBottom(() => {
|
||||
// 公告
|
||||
async function getMsg() {
|
||||
let res = await messageselectMessage();
|
||||
console.log('res',res)
|
||||
let arr = [];
|
||||
let ids = uni.getStorageSync('ids');
|
||||
res.list.forEach((ele) => {
|
||||
@@ -177,7 +178,7 @@ async function getMsg() {
|
||||
arr.push(ele);
|
||||
}
|
||||
});
|
||||
datas.noticeList = arr;
|
||||
datas.noticeList = res.list;
|
||||
if (arr.length) {
|
||||
if (ids.length) {
|
||||
uni.setStorageSync('ids', [...uni.getStorageSync('ids'), datas.noticeList[datas.cloneNum].id]);
|
||||
|
||||
Reference in New Issue
Block a user