From e0c1b1c3b54ecef28cf2b7817529b823e9afd9ed Mon Sep 17 00:00:00 2001 From: Chengliang <1546584672@qq.com> Date: Fri, 22 Sep 2023 09:44:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B2=97=E4=BD=8D=E6=98=BE=E7=A4=BA=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/drawer/index.jsx | 2 +- src/pages/company.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/drawer/index.jsx b/src/components/drawer/index.jsx index bb17ffb..bea0e32 100644 --- a/src/components/drawer/index.jsx +++ b/src/components/drawer/index.jsx @@ -311,7 +311,7 @@ export default class DrawerComponents extends React.Component { changeDetail = () => { const { detailType, params } = this.state; let type = detailType == 'chart' ? 'table' : 'chart'; - const showJob = params.fclass == '0' ? '1' : '0'; + const showJob = this.state.showJob ? '1' : '0'; this.setState({ detailType: type, }); diff --git a/src/pages/company.jsx b/src/pages/company.jsx index eafb603..6687a4e 100644 --- a/src/pages/company.jsx +++ b/src/pages/company.jsx @@ -130,7 +130,7 @@ export default function companyPage() { if (d.data.ftype == 0) { return 220; } else if (d.data.ftype == 1) { - return 160; + return 144; } else if (d.data.ftype == 2) { return 144; }