解决获取角色菜单报错问题

This commit is contained in:
吴季分
2025-10-31 15:02:31 +08:00
parent 3d5b655800
commit ed927a0b3c

View File

@@ -129,9 +129,9 @@ export function decryptWithPrivateKey(cipherHex) {
if (cleanCipher.startsWith('04')) {
// 判断是否是人为添加的 04标准 C1C3C2 密文长度约 512~520加 04 后变 514+
const expectedMinLen = 512
if (cleanCipher.length > expectedMinLen) {
cleanCipher = cleanCipher.substring(2)
}
// if (cleanCipher.length > expectedMinLen) {
cleanCipher = cleanCipher.substring(2)
// }
}
// 执行解密