🔄Update: 删除加密逻辑
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user