Commit c309aa18 authored by 杨思琦's avatar 杨思琦

fix: 修改密码判定

parent e598dc16
Pipeline #63527 passed with stages
...@@ -36,7 +36,7 @@ const ValidContainer = props => { ...@@ -36,7 +36,7 @@ const ValidContainer = props => {
const tk = global.token; const tk = global.token;
// eslint-disable-next-line no-eval // eslint-disable-next-line no-eval
if (tk) { if (tk) {
if (check) { if (check && check === true) {
setNeedChangePassword(true); setNeedChangePassword(true);
} }
} }
......
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