This commit is contained in:
余菲 2022-10-31 18:01:54 +08:00
parent 62cbcf7a9d
commit 5f94d4c41c
2 changed files with 3 additions and 2 deletions

View File

@ -44,6 +44,7 @@
flex-direction: column; flex-direction: column;
justify-content: flex-start; justify-content: flex-start;
align-items: flex-start; align-items: flex-start;
font-size: 30rpx;
} }
.label_list { .label_list {
width: 100%; width: 100%;

View File

@ -35,8 +35,8 @@ Page({
// 获取近期记录 // 获取近期记录
getRecodesList() { getRecodesList() {
getAllTask({page: 1, limit:5}).then(res=> { getAllTask({page: 1, limit:5}).then(res=> {
if(res.code === 0) { if(res?.code === 0) {
this.setData({dataList: res.data.records}) this.setData({dataList: res.data?.records})
} }
}) })
}, },