This commit is contained in:
parent
62cbcf7a9d
commit
5f94d4c41c
|
|
@ -44,6 +44,7 @@
|
|||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
align-items: flex-start;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
.label_list {
|
||||
width: 100%;
|
||||
|
|
|
|||
|
|
@ -35,8 +35,8 @@ Page({
|
|||
// 获取近期记录
|
||||
getRecodesList() {
|
||||
getAllTask({page: 1, limit:5}).then(res=> {
|
||||
if(res.code === 0) {
|
||||
this.setData({dataList: res.data.records})
|
||||
if(res?.code === 0) {
|
||||
this.setData({dataList: res.data?.records})
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue