Commit c80ff9f4 authored by wuhao's avatar wuhao 🎯

ader

parent 2ede76bc
......@@ -76,12 +76,10 @@ const Login = () => {
mode: ECB,
padding: Pkcs7,
}).toString();
let password = AES.encrypt(values.password, Utf8.parse(timestamp), {
mode: ECB,
padding: Pkcs7,
}).toString();
const postdata = {
accountName: values.userName,
password: password,
......@@ -111,7 +109,7 @@ const Login = () => {
const handleSubmit = async (values) => {
if (tabkey == "1") {
await handleLogin()
await handleLogin(values)
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment