This commit is contained in:
parent
62cbcf7a9d
commit
5f94d4c41c
|
|
@ -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%;
|
||||||
|
|
|
||||||
|
|
@ -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})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue