소스 검색

账号管理添加密码

zhaoke 2 년 전
부모
커밋
fe2e01804c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,