Explorar el Código

账号管理添加密码

zhaoke hace 2 años
padre
commit
fe2e01804c
Se han modificado 1 ficheros con 1 adiciones y 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,