From 4fb8eaad289c929d2001794930c8b0093a052866 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Mon, 31 Jul 2023 16:24:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=9B=E5=BE=AE=E8=96=AA=E8=B5=84=E6=A0=B8?= =?UTF-8?q?=E7=AE=97iframe=E8=A1=A8=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/payrollFilesTable/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/payrollFilesTable/index.tsx b/src/pages/payrollFilesTable/index.tsx index 524c399..789af91 100644 --- a/src/pages/payrollFilesTable/index.tsx +++ b/src/pages/payrollFilesTable/index.tsx @@ -5,6 +5,7 @@ import { convertColumns, exceptStr, paginationFun } from "@/utils/common"; import styles from "@/pages/atdTable/components/index.less"; import { defaultPage, IPage } from "@/common/types"; import cs from "classnames"; +import { Storage } from "@/utils"; const { Text } = Typography; const payrollFilesTable: FC = (props) => { @@ -45,6 +46,7 @@ const payrollFilesTable: FC = (props) => { if (item.dataIndex === "operate") { return { ...item, + width: Storage.local.get("languageidweaver") == "8" ? 210 : item.width, render: (text: string, r: { id?: string }) => { let dom = null; if (!showOperateBtn) { @@ -245,7 +247,7 @@ const payrollFilesTable: FC = (props) => { rowSelection={rowSelection} scroll={{ x: 1200, y: !showSumrow ? `calc(100vh - 100px)` : "calc(100vh - 129px)" }} pagination={{ - ...paginationFun(pageInfo, sizeChange, onChange), + ...paginationFun(pageInfo, sizeChange, onChange, i18n), size: "default" }} summary={() => {