This commit is contained in:
曹辉 2023-02-22 13:58:10 +08:00
parent dccb4d04e8
commit c97d761ced
2 changed files with 3 additions and 3 deletions

View File

@ -271,7 +271,7 @@
"navigationBarTitleText": "护理站",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff", //
"onReachBottomDistance": 40, // px
"onReachBottomDistance": 100, // px
"enablePullDownRefresh": true //true
}
},

View File

@ -179,7 +179,7 @@
uni.removeStorageSync('Refresh');
res.rows.forEach(e => {
e.stationPictureUrl = baseurl + e.stationPictureUrl
if (e.classifyInfoList.length >= 1) {
if (e.classifyInfoList && e.classifyInfoList.length >= 1) {
e.classifyInfoList = e.classifyInfoList.slice(0, 2)
}
})
@ -208,7 +208,7 @@
.then(res => {
res.rows.forEach(e => {
e.stationPictureUrl = baseurl + e.stationPictureUrl
if (e.classifyInfoList.length >= 1) {
if (e.classifyInfoList && e.classifyInfoList.length >= 1) {
e.classifyInfoList = e.classifyInfoList.slice(0, 2)
}
this.nursestationlist.push(e)