bug
This commit is contained in:
@@ -38,13 +38,17 @@ export default {
|
||||
this.getList()
|
||||
})
|
||||
uni.setNavigationBarTitle({title: '楼栋列表'})
|
||||
uni.$on('updateList', () => {
|
||||
this.current = 1
|
||||
this.getList()
|
||||
})
|
||||
},
|
||||
|
||||
methods: {
|
||||
getList() {
|
||||
this.$http.post(`/app/appcommunitybuildinginfo/list`, null, {
|
||||
params: {
|
||||
current: 1,
|
||||
current: this.current,
|
||||
size: 10,
|
||||
areaId: this.user.areaId,
|
||||
communityName: this.title
|
||||
|
||||
@@ -116,10 +116,9 @@ export default {
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.$u.toast('提交成功')
|
||||
uni.$emit('updateList')
|
||||
setTimeout(() => {
|
||||
this.$emit('change', {
|
||||
type: 'List',
|
||||
})
|
||||
uni.navigateBack()
|
||||
}, 600)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user