diff --git a/.gitignore b/.gitignore index ad6adba..6b55d83 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ dist .env.local .env.*.local npm-debug.log* +yarn.lock yarn-debug.log* yarn-error.log* .idea diff --git a/src/utils/encrypt.js b/src/utils/encrypt.js index 7907e56..9856991 100644 --- a/src/utils/encrypt.js +++ b/src/utils/encrypt.js @@ -1,4 +1,4 @@ -import { JSEncrypt } from 'jsencrypt/bin/jsencrypt.min' +import JSEncrypt from 'jsencrypt' import { getPublicKey } from '@/api/publicKey' const privateKey =