删除无用引用

This commit is contained in:
gong
2025-12-09 10:10:17 +08:00
parent 5f946bd614
commit 9f4cec00ee
3 changed files with 0 additions and 16 deletions

View File

@@ -52,7 +52,6 @@
"element-plus": "^2.9.3", "element-plus": "^2.9.3",
"exceljs": "^4.4.0", "exceljs": "^4.4.0",
"js-cookie": "^3.0.5", "js-cookie": "^3.0.5",
"jsencrypt": "^3.3.2",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"mitt": "^3.0.1", "mitt": "^3.0.1",

View File

@@ -1,14 +0,0 @@
import JSEncrypt from 'jsencrypt/bin/jsencrypt.min'
// 密钥对生成 http://web.chacuo.net/netrsakeypair
const publicKey = 'MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANL378k3RiZHWx5AfJqdH9xRNBmD9wGD\n' +
'2iRe41HdTNF8RUhNnHit5NpMNtGL0NPTSSpPjjI1kJfVorRvaQerUgkCAwEAAQ=='
// 加密
export function encrypt(txt) {
const encryptor = new JSEncrypt()
encryptor.setPublicKey(publicKey) // 设置公钥
return encryptor.encrypt(txt) // 对需要加密的数据进行加密
}

View File

@@ -55,7 +55,6 @@
</template> </template>
<script setup> <script setup>
import { encrypt } from "@/utils/rsaEncrypt";
import $API_login from "@/api/account/login"; import $API_login from "@/api/account/login";
import Cookies from "js-cookie"; import Cookies from "js-cookie";
import Background from "@/assets/images/background_img.jpg"; import Background from "@/assets/images/background_img.jpg";