From 07298bf405362bbaef8fd1b1459e2e225c0e030d Mon Sep 17 00:00:00 2001 From: gzy <1370682505@qq.com> Date: Wed, 4 Sep 2024 13:54:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=86=E7=A0=81=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- XinAoDTS/fuintAdmin/src/api/login.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/XinAoDTS/fuintAdmin/src/api/login.js b/XinAoDTS/fuintAdmin/src/api/login.js index fca43c0..271b026 100644 --- a/XinAoDTS/fuintAdmin/src/api/login.js +++ b/XinAoDTS/fuintAdmin/src/api/login.js @@ -1,10 +1,12 @@ import request from '@/utils/request' +import {encrypt} from "@/utils/jsencrypt"; // 登录方法 export function login(username, password, captchaCode, uuid) { + let newPassword = encrypt(password) const data = { username, - password, + newPassword, captchaCode, uuid }