Browse Source

账号管理添加密码

zhaoke 2 years ago
parent
commit
fe2e01804c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/accountManagement/components/accountHome.vue

+ 1 - 1
src/views/accountManagement/components/accountHome.vue

@@ -468,7 +468,7 @@ export default {
     addSubmit (formName) {
       this.$refs[formName].validate(async (valid) => {
         if (valid) {
-          this.dataForm.user_sec_pwd = this.dataForm.again
+          this.dataForm.user_sec_pwd = MD5(this.dataForm.again)
           const obj = Object.assign(this.ruleForm, this.dataForm)
           const { code, message } = await GeneralDataReception({
             serviceId: SERVICE_ID.accountScId,