修改
This commit is contained in:
parent
dccb4d04e8
commit
c97d761ced
@ -271,7 +271,7 @@
|
||||
"navigationBarTitleText": "护理站",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarBackgroundColor": "#ffffff", //背景颜色
|
||||
"onReachBottomDistance": 40, //距离底部多远时触发 单位为px
|
||||
"onReachBottomDistance": 100, //距离底部多远时触发 单位为px
|
||||
"enablePullDownRefresh": true //设置参数为true
|
||||
}
|
||||
},
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user