BUG 29782

This commit is contained in:
aixianling
2022-06-07 17:59:35 +08:00
parent 8d241d6efd
commit fc47eca88a
2 changed files with 4 additions and 2 deletions

View File

@@ -86,6 +86,7 @@ export default {
name: item.name
}
})
uni.showLoading({mask: true})
this.$http.post(`/app/appgirdinfo/addOrUpdateByEw`, {...this.form, girdMemberManageList, girdMemberList}).then((res) => {
if (res?.code == 0) {
this.$u.toast('提交成功')
@@ -96,7 +97,7 @@ export default {
}
}).catch((err) => {
this.$u.toast(err)
})
}).finally(() => uni.hideLoading())
},
getArrayLabel(arr, key = 'name', separation = '') {

View File

@@ -115,6 +115,7 @@ export default {
if (!this.form.girdName) {
return this.$u.toast('请输入网格名称')
}
uni.showLoading({mask: true})
this.$http.post(`/app/appgirdinfo/addOrUpdateByEw`, {...this.form}).then((res) => {
if (res.code == 0) {
this.$u.toast('提交成功')
@@ -125,7 +126,7 @@ export default {
}
}).catch((err) => {
this.$u.toast(err)
})
}).finally(() => uni.hideLoading())
}
}