From caa31ad1ba2a7eb42868ed0a9b3cac8794ec9a18 Mon Sep 17 00:00:00 2001 From: lys <971387674@qq.com> Date: Fri, 18 Oct 2024 17:01:06 +0800 Subject: [PATCH] =?UTF-8?q?feature/2.9.42310.01-=E8=96=AA=E8=B5=84?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=8B=93=E6=89=91=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/calcTable/index.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/pages/calcTable/index.tsx b/src/pages/calcTable/index.tsx index 1a5f44d..dfab050 100644 --- a/src/pages/calcTable/index.tsx +++ b/src/pages/calcTable/index.tsx @@ -151,13 +151,7 @@ const index: FunctionComponent = (props) => { }); }; const handleDiagramTd = (salaryItemId: string, acctEmpId: string) => { - window.parent.postMessage( - { - type: "turn", - payload: { id: "DIAGRAM", params: { salaryItemId, acctEmpId } } - }, - "*" - ); + window.parent.postMessage({ type: "turn", payload: { id: "DIAGRAM", params: { salaryItemId, acctEmpId } } }, "*"); }; const handleFormulaTd = (dataIndex: string) => { window.parent.postMessage({ type: "turn", payload: { id: "FORMULA", params: { dataIndex } } }, "*");