diff --git a/Changelog.md b/Changelog.md index 00026ba6c..c6ddb0a0f 100644 --- a/Changelog.md +++ b/Changelog.md @@ -30,6 +30,7 @@ - 修复订阅中未加引号的 REALITY `short-id`(如 `1234e123`)被误读为数字,导致订阅无法启用 - 修复订阅中唯一的代理组名为 `GLOBAL` 或没有代理组时,规则模式下代理页面显示「未获取到代理信息」 - 修复窗口较窄时,首页「当前节点」卡片中过长的节点名把延迟标签挤出卡片 +- 修复断开链式代理时清空已选节点,导致再次连接需要重新选择的问题 **🍎 macOS** diff --git a/src/components/proxy/proxy-chain.tsx b/src/components/proxy/proxy-chain.tsx index bc901946b..fd65ed4ba 100644 --- a/src/components/proxy/proxy-chain.tsx +++ b/src/components/proxy/proxy-chain.tsx @@ -463,15 +463,12 @@ export const ProxyChain = ({ localStorage.removeItem('proxy-chain-group') localStorage.removeItem('proxy-chain-exit-node') - localStorage.removeItem('proxy-chain-items') await mutate(() => closeAllConnections(), { id: 'close-all-connections', errorNotice: false, }) await refreshProxy() - - onUpdateChain([]) } catch (error) { console.error('Failed to disconnect from proxy chain:', error) alert(t('proxies.page.chain.disconnectFailed')) @@ -550,7 +547,6 @@ export const ProxyChain = ({ mode, proxyView, selectedGroup, - onUpdateChain, recordSelection, ])