From d47c9afe61c90577e1b35a155ef59b0362406d02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Sun, 5 Sep 2021 16:33:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=B7=BB=E5=8A=A0=E7=A7=9F?= =?UTF-8?q?=E6=88=B7=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-web/src/views/system/modules/TenantModal.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jshERP-web/src/views/system/modules/TenantModal.vue b/jshERP-web/src/views/system/modules/TenantModal.vue index 28c8f258..7abd9c8f 100644 --- a/jshERP-web/src/views/system/modules/TenantModal.vue +++ b/jshERP-web/src/views/system/modules/TenantModal.vue @@ -35,6 +35,7 @@ import pick from 'lodash.pick' import {registerUser,editTenant,checkTenant } from '@/api/api' import JDate from '@/components/jeecg/JDate' + import md5 from 'md5' export default { name: "TenantModal", components: { @@ -94,7 +95,7 @@ let formData = Object.assign(this.model, values); let obj; if(!this.model.id){ - formData.password = '123456' + formData.password = md5('123456') obj=registerUser(formData); }else{ obj=editTenant(formData);