From 2b48dd87220fc8d9f782c57e6d4d8b86662bccdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B6=85=E7=BA=A7=E8=80=81=E7=99=BD=E5=85=94?= Date: Mon, 8 Sep 2025 18:21:14 +0800 Subject: [PATCH] =?UTF-8?q?refactor(PlaceholderPage):=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E6=9C=AA=E4=BD=BF=E7=94=A8=E7=9A=84showFooter=E5=B1=9E?= =?UTF-8?q?=E6=80=A7=E5=92=8CMeauMobile=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit style(dashboard): 统一图表组件中的引号为双引号 --- Cunkebao/src/components/PlaceholderPage.tsx | 6 +----- Cunkebao/src/pages/pc/ckbox/dashboard/index.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/Cunkebao/src/components/PlaceholderPage.tsx b/Cunkebao/src/components/PlaceholderPage.tsx index 4eec7f2f..69a8ddde 100644 --- a/Cunkebao/src/components/PlaceholderPage.tsx +++ b/Cunkebao/src/components/PlaceholderPage.tsx @@ -2,14 +2,12 @@ import React from "react"; import { NavBar, Button } from "antd-mobile"; import { PlusOutlined } from "@ant-design/icons"; import Layout from "@/components/Layout/Layout"; -import MeauMobile from "@/components/MeauMobile/MeauMoible"; interface PlaceholderPageProps { title: string; showBack?: boolean; showAddButton?: boolean; addButtonText?: string; - showFooter?: boolean; } const PlaceholderPage: React.FC = ({ @@ -17,13 +15,12 @@ const PlaceholderPage: React.FC = ({ showBack = true, showAddButton = false, addButtonText = "新建", - showFooter = true, }) => { return ( window.history.back() : undefined} left={ @@ -43,7 +40,6 @@ const PlaceholderPage: React.FC = ({ } /> } - footer={showFooter ? : undefined} >

{title}页面

diff --git a/Cunkebao/src/pages/pc/ckbox/dashboard/index.tsx b/Cunkebao/src/pages/pc/ckbox/dashboard/index.tsx index 5d72bb4a..0e6ceacf 100644 --- a/Cunkebao/src/pages/pc/ckbox/dashboard/index.tsx +++ b/Cunkebao/src/pages/pc/ckbox/dashboard/index.tsx @@ -433,22 +433,22 @@ const Dashboard: React.FC = () => { - + - + - + - +