From cf9ca25a12bc35c220cb7e5bd08149ac87d84684 Mon Sep 17 00:00:00 2001 From: yml2213 Date: Sat, 12 Sep 2026 15:02:04 +0800 Subject: [PATCH] =?UTF-8?q?fix(pdd-ui):=20=E4=BF=AE=E5=A4=8D=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=E9=85=8D=E7=BD=AE=E9=A1=B5=E9=9D=A2=E6=8B=BC=E5=A4=9A?= =?UTF-8?q?=E5=A4=9ATab=E6=97=A0=E6=B3=95=E9=80=89=E4=B8=AD=E5=9B=9E?= =?UTF-8?q?=E9=80=80=E8=87=B3=E5=86=85=E9=83=A8=E9=80=9A=E7=9F=A5=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 'pdd' 加入 PlatformTab 类型联合以及 platformTabs 有效路由参数白名单数组中。 - 解决 normalizePlatformTab 校验失败时将当前激活Tab重置为默认 'notifications' (内部通知) 的 Bug。 --- .../src/pages/admin/platform/AdminPlatformShopsPage.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/frontend/src/pages/admin/platform/AdminPlatformShopsPage.tsx b/apps/frontend/src/pages/admin/platform/AdminPlatformShopsPage.tsx index 2ee80b56..e5fa1732 100644 --- a/apps/frontend/src/pages/admin/platform/AdminPlatformShopsPage.tsx +++ b/apps/frontend/src/pages/admin/platform/AdminPlatformShopsPage.tsx @@ -98,6 +98,7 @@ type PlatformTab = | 'kuaishouFeifei' | 'cloudtentacles' | 'affiliateDash' + | 'pdd' type NotificationConfigResponse = { filePath: string @@ -117,6 +118,7 @@ const platformTabs: PlatformTab[] = [ 'kuaishouFeifei', 'cloudtentacles', 'affiliateDash', + 'pdd', ] export default function AdminPlatformShopsPage() {