From cfe3343f6c793fe331e6198b935e23ca182e52c6 Mon Sep 17 00:00:00 2001 From: YoVinchen Date: Tue, 25 Nov 2025 23:16:03 +0800 Subject: [PATCH] fix(provider): include icon fields when duplicating provider --- src/App.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/App.tsx b/src/App.tsx index 4d70535d..f5590275 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -217,6 +217,8 @@ function App() { meta: provider.meta ? JSON.parse(JSON.stringify(provider.meta)) : undefined, // 深拷贝 + icon: provider.icon, + iconColor: provider.iconColor, }; // 2️⃣ 如果原供应商有 sortIndex,需要将后续所有供应商的 sortIndex +1