diff --git a/src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue b/src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue index c7582324..d9cd4d37 100644 --- a/src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue +++ b/src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue @@ -224,7 +224,7 @@ export default { }; }, }, - mounted() { + created() { this.getFormInfo(); }, props: { @@ -371,7 +371,7 @@ export default { this.$http .post(`/gov/org/agency/communityListByCustomerId`) .then(({ data: res }) => { - if (tMapres.code !== 0) { + if (res.code !== 0) { return this.$message.error(res.msg); } this.organizationList = res.data; @@ -384,7 +384,7 @@ export default { if (this.dataForm.id) { this.getInfo(); } else { - + this.initMap(); } });