From b0e7cbfc419c4c95e254c2695d68452af44c30c9 Mon Sep 17 00:00:00 2001 From: lys <971387674@qq.com> Date: Thu, 12 Jun 2025 10:37:23 +0800 Subject: [PATCH] =?UTF-8?q?release/3.0.1.2504.01-=E5=90=88=E5=B9=B6?= =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hrmSalary/pages/declare/generateDeclarationDetail.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/declare/generateDeclarationDetail.js b/pc4mobx/hrmSalary/pages/declare/generateDeclarationDetail.js index 91a1a88f..928f715b 100644 --- a/pc4mobx/hrmSalary/pages/declare/generateDeclarationDetail.js +++ b/pc4mobx/hrmSalary/pages/declare/generateDeclarationDetail.js @@ -73,9 +73,9 @@ export default class GenerateDeclarationDetail extends React.Component { render() { const { loading, pageInfo, columns, dataSource } = this.state; - const { taxAgentStore: { showOperateBtn } } = this.props; - const buttons = showOperateBtn ? [] : []; + const { taxAgentStore: { PageAndOptAuth } } = this.props; + const buttons = !!PageAndOptAuth.opts.length ? [] : []; const pagination = { ...pageInfo, showTotal: (total) => `共 ${total} 条`,