From d2459b440878f6471b6ee84cea08481d9b8ed141 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Wed, 23 Jun 2021 11:30:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=80=90ID1004552=E3=80=91=E3=80=90?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86=E3=80=91=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E6=97=A0=E6=B3=95=E5=88=A0=E9=99=A4=E7=BB=84?= =?UTF-8?q?=E7=BB=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/system/user/form.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/views/system/user/form.vue b/frontend/src/views/system/user/form.vue index 3625f02145..2fddc7d438 100644 --- a/frontend/src/views/system/user/form.vue +++ b/frontend/src/views/system/user/form.vue @@ -285,6 +285,7 @@ export default { save() { this.$refs.createUserForm.validate(valid => { if (valid) { + !this.form.deptId && (this.form.deptId = 0) const method = this.formType === 'add' ? addUser : editUser method(this.form).then(res => { this.$success(this.$t('commons.save_success'))