Pārlūkot izejas kodu

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

dxldxl 3 nedēļas atpakaļ
vecāks
revīzija
3a7fad80a8
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;