From f3f59adcbc3ce1243ff607c1fdefcb9362b2dbbf Mon Sep 17 00:00:00 2001 From: WuYongJie Date: Thu, 17 Sep 2026 14:56:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E6=96=B0=E5=93=81?= =?UTF-8?q?=E6=8E=A8=E8=8D=90=EF=BC=9A=E9=A1=B5=E9=9D=A2=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E8=A7=86=E5=9B=BE=E6=94=B9=E4=B8=BA=E6=98=8E=E7=BB=86=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SupplierRecommendedProductsClient.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/furniture-3d-system/src/app/supply-chain/purchase/supplier-recommended-products/SupplierRecommendedProductsClient.tsx b/furniture-3d-system/src/app/supply-chain/purchase/supplier-recommended-products/SupplierRecommendedProductsClient.tsx index efc11ce3..65a37147 100644 --- a/furniture-3d-system/src/app/supply-chain/purchase/supplier-recommended-products/SupplierRecommendedProductsClient.tsx +++ b/furniture-3d-system/src/app/supply-chain/purchase/supplier-recommended-products/SupplierRecommendedProductsClient.tsx @@ -40,7 +40,7 @@ function openDatePicker(event: React.MouseEvent) { export function SupplierRecommendedProductsClient({ initialData, canEdit, canDownload, canSelect, canViewDashboard, currentUser }: { initialData: SupplierRecommendedProductPage; canEdit: boolean; canDownload: boolean; canSelect: boolean; canViewDashboard: boolean; currentUser: { id: string; name: string } }) { const [data, setData] = useState(initialData) const [filters, setFilters] = useState({ ...EMPTY_SUPPLIER_RECOMMENDED_PRODUCT_FILTERS }) - const [pageView, setPageView] = useState<'list' | 'dashboard'>(canViewDashboard ? 'dashboard' : 'list') + const [pageView, setPageView] = useState<'list' | 'dashboard'>('list') const [editor, setEditor] = useState(null) const [logs, setLogs] = useState(null) const [preview, setPreview] = useState(null)