diff --git a/web/frontend/src/pages/CookiePage.tsx b/web/frontend/src/pages/CookiePage.tsx index 2911cd0..d2e2e64 100644 --- a/web/frontend/src/pages/CookiePage.tsx +++ b/web/frontend/src/pages/CookiePage.tsx @@ -37,7 +37,7 @@ export default function CookiePage() { const handleExport = async (format: string = 'csv') => { try { const blob = await cookieApi.exportCsv(format); - const url = URL.createObjectURL(blob instanceof Blob ? blob : new Blob([blob])); + const url = URL.createObjectURL(blob instanceof Blob ? blob : new Blob([blob as any])); const a = document.createElement('a'); a.href = url; a.download = format === 'custom' ? 'cookies_custom.txt' : 'cookies.csv'; @@ -112,7 +112,7 @@ export default function CookiePage() { width: 100, align: 'center', render: (name: string | null) => - name ? {name} : 未分配, + name ? {name} : 未分配, }, { title: 'Cookie', diff --git a/web/frontend/src/pages/UsersPage.tsx b/web/frontend/src/pages/UsersPage.tsx index 6dff2a6..353926c 100644 --- a/web/frontend/src/pages/UsersPage.tsx +++ b/web/frontend/src/pages/UsersPage.tsx @@ -311,7 +311,7 @@ export default function UsersPage() { if (groupKeys.length === 0) return null; return (
- + {group.label}