diff --git a/src/views/modules/base/community/roomForm.vue b/src/views/modules/base/community/roomForm.vue index 7d52f422..37316861 100644 --- a/src/views/modules/base/community/roomForm.vue +++ b/src/views/modules/base/community/roomForm.vue @@ -171,7 +171,7 @@ export default { this.$refs.ref_form.resetFields(); this.agencyObj = agencyObj this.formType = type - if (row.houseId) { + if (row) { this.houseId = row.houseId await this.loadHouseInfo()