fix: 修复droid账号更新丢失apikey的问题

This commit is contained in:
shaw
2025-10-11 11:23:24 +08:00
parent c56bebdbe5
commit 6c2ef2eef3
3 changed files with 35 additions and 8 deletions

View File

@@ -3160,6 +3160,15 @@ const parseProxyResponse = (rawProxy) => {
}
}
if (
proxyObject &&
typeof proxyObject === 'object' &&
proxyObject.proxy &&
typeof proxyObject.proxy === 'object'
) {
proxyObject = proxyObject.proxy
}
if (!proxyObject || typeof proxyObject !== 'object') {
return null
}

View File

@@ -2488,7 +2488,7 @@ const filterByGroup = () => {
}
// 规范化代理配置,支持字符串与对象
const normalizeProxyData = (proxy) => {
function normalizeProxyData(proxy) {
if (!proxy) {
return null
}