fix(provider): include icon fields when duplicating provider (#297)

This commit is contained in:
YoVinchen
2025-11-25 23:18:54 +08:00
committed by GitHub
parent c1c85b020d
commit 6783a8a183

View File

@@ -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