diff --git a/subpkg/newPersonnel/newPersonnel.vue b/subpkg/newPersonnel/newPersonnel.vue index a0c10ef..1135048 100644 --- a/subpkg/newPersonnel/newPersonnel.vue +++ b/subpkg/newPersonnel/newPersonnel.vue @@ -287,9 +287,11 @@ --> - + @@ -312,6 +314,7 @@ }, data() { return { + modelShow: false, formData: { account: '', //账号 password: '123456', //密码 @@ -431,7 +434,9 @@ }) }, // 创建账号 - addAcountNum() { + async addAcountNum() { + this.modelShow = false; + await this.$nextTick(); if (!this.formData.avatar) return Toast('头像未上传'); let flag = this.$refs.districtSelectorRef.validate(); if (!this.formData.qualification.id_card || !this.formData.qualification.id_card_b) return Toast('身份证未上传');