Fix(寻趣味):异步加载导致界面渲染逻辑错误
This commit is contained in:
@@ -114,9 +114,9 @@ export default {
|
||||
this.fetchList()
|
||||
},
|
||||
onLoad() {
|
||||
this.getMapData()
|
||||
getHotelTypeList().then(({data}) => {
|
||||
this.typeList = data;
|
||||
this.typeList = data
|
||||
this.getMapData()
|
||||
})
|
||||
},
|
||||
onShow() {
|
||||
|
||||
Reference in New Issue
Block a user