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={() => {