chore: 每次刷新都重新获取public-key
This commit is contained in:
parent
700003a01f
commit
65b877ac8b
|
@ -74,7 +74,6 @@
|
|||
};
|
||||
// 获取公钥
|
||||
const getPublicKey = async () => {
|
||||
if (getLocalStorage('salt')) return;
|
||||
const publicKey = await getPublicKeyRequest();
|
||||
setLocalStorage('salt', publicKey);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue