更新 Web/src/layout/lockScreen/index.vue
删除调试代码
This commit is contained in:
parent
fe4300256f
commit
31a8c876fc
@ -217,10 +217,8 @@ const onLockScreenSubmit = async () => {
|
|||||||
setLocalThemeConfig();
|
setLocalThemeConfig();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
console.log('userInfos', userInfos);
|
|
||||||
// SM2加密密码
|
// SM2加密密码
|
||||||
const publicKey = window.__env__.VITE_SM_PUBLIC_KEY;
|
const publicKey = window.__env__.VITE_SM_PUBLIC_KEY;
|
||||||
console.log('publicKey', publicKey);
|
|
||||||
const password = sm2.doEncrypt(state.lockScreenPassword, publicKey, 1);
|
const password = sm2.doEncrypt(state.lockScreenPassword, publicKey, 1);
|
||||||
const [err, res] = await feature(getAPI(SysAuthApi).apiSysAuthUnLockScreenPost(password));
|
const [err, res] = await feature(getAPI(SysAuthApi).apiSysAuthUnLockScreenPost(password));
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user