Explorar o código

账号管理添加密码

zhaoke %!s(int64=2) %!d(string=hai) anos
pai
achega
fe2e01804c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,