🔄Update: 删除加密逻辑

This commit is contained in:
2025-10-06 13:50:08 +08:00
parent 34d5bc6038
commit c7365e1338
8 changed files with 60 additions and 45 deletions
+1 -5
View File
@@ -61,7 +61,6 @@
<script setup>
import { ref, computed, onMounted } from 'vue'
import { encrypt } from '../utils/encryption'
// 厂商配置预设
const platforms = [
@@ -151,13 +150,10 @@ const saveConfig = () => {
return
}
// 加密密钥
const encryptedKey = encrypt(apiKey.value)
// 构造配置对象
const config = {
id: selectedPlatform.value,
apiKey: encryptedKey,
apiKey: apiKey.value,
endpoint: endpoint.value
}