diff --git a/src/utils/jsencrypt.ts b/src/utils/jsencrypt.ts index 42de5a0..6df068e 100644 --- a/src/utils/jsencrypt.ts +++ b/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;