From a51e8f32dae654b9611d1b0e0ae5c40a70fa2baa Mon Sep 17 00:00:00 2001 From: liyongshun <971387674@qq.com> Date: Tue, 21 Jun 2022 15:54:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BA=E5=AE=9A=E5=88=97=E8=A1=A8=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/components/customTable/index.js | 14 +++++++++++++- .../hrmSalary/components/customTable/index.less | 11 +++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 pc4mobx/hrmSalary/components/customTable/index.less diff --git a/pc4mobx/hrmSalary/components/customTable/index.js b/pc4mobx/hrmSalary/components/customTable/index.js index 9efade1b..c40122dd 100644 --- a/pc4mobx/hrmSalary/components/customTable/index.js +++ b/pc4mobx/hrmSalary/components/customTable/index.js @@ -1,6 +1,13 @@ +/* + * Author: 黎永顺 + * Description: + * Date: 2022-06-21 14:27:29 + * LastEditTime: 2022-06-21 15:05:12 + */ import React from "react"; import { WeaTable } from "ecCom"; import { Spin, Table } from "antd"; +import "./index.less"; export default class CustomTable extends React.Component { render() { @@ -13,7 +20,12 @@ export default class CustomTable extends React.Component { : isWeaTable ? - : } + :
} ); } diff --git a/pc4mobx/hrmSalary/components/customTable/index.less b/pc4mobx/hrmSalary/components/customTable/index.less new file mode 100644 index 00000000..02565090 --- /dev/null +++ b/pc4mobx/hrmSalary/components/customTable/index.less @@ -0,0 +1,11 @@ +.antd-wrap { + .ant-table-tbody { + tr { + td { + white-space: nowrap; + height: 41px !important; + border-bottom: 1px solid #e2e2e2 !important; + } + } + } +}