BUG 26001

This commit is contained in:
aixianling
2021-12-24 17:35:03 +08:00
parent b88c1d7a0e
commit bad694e75f

View File

@@ -150,7 +150,7 @@ export default {
}) })
}, },
onShow() { onShow() {
document.title = '房屋信息' document.title = '房屋信息'
}, },
methods: { methods: {
@@ -176,11 +176,12 @@ export default {
}, },
submit() { submit() {
this.$http.post(`app/appcommunityhouseinfo/update`, this.houseInfo).then(res => { this.$http.post(`app/appcommunityhouseinfo/update`, this.houseInfo).then(res => {
if (res.code == 0) { if (res?.code == 0) {
this.$u.toast('提交成功') uni.navigateBack({
setTimeout(() => { success: () => {
uni.navigateBack({}) this.$u.toast('提交成功')
}, 600) }
})
} }
}) })
}, },