mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-29 12:30:24 +08:00
review: 数据库实例管理调整
This commit is contained in:
@@ -25,7 +25,7 @@ export async function RsaEncrypt(value: any) {
|
||||
if (!value) {
|
||||
return '';
|
||||
}
|
||||
if (encryptor != null) {
|
||||
if (encryptor != null && sessionStorage.getItem('RsaPublicKey') != null) {
|
||||
return encryptor.encrypt(value);
|
||||
}
|
||||
encryptor = new JSEncrypt();
|
||||
|
||||
Reference in New Issue
Block a user