Przeglądaj źródła

漏洞扫描出现yui2.9.0版本漏洞fix

dxldxl 3 tygodni temu
rodzic
commit
3a7fad80a8
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/utils/jsencrypt.ts

+ 1 - 1
src/utils/jsencrypt.ts

@@ -1,4 +1,4 @@
-import JSEncrypt from 'jsencrypt';
+import JSEncrypt from 'jsencrypt/bin/jsencrypt.min.js';
 // 密钥对生成 http://web.chacuo.net/netrsakeypair
 
 const publicKey = import.meta.env.VITE_APP_RSA_PUBLIC_KEY;