Commit 3ef16aff by zhaochengxiang

增加小屏上的优化

parent 83e45356
......@@ -951,7 +951,8 @@ const ImportActionTable = (props) => {
const validateColumn = {
title: '规范',
dataIndex: 'validate',
width: 200,
//小屏幕下隐藏规范, 给编辑多点空间
width: (tableWidth>1300)?200:0,
fixed: 'right',
render: (text, record, index) => {
let shortCauses = [];
......@@ -1205,7 +1206,7 @@ const ImportActionTable = (props) => {
scroll={{
x: 1500,
//解决屏幕尺寸窄时,字段不好横向拖动的问题
y: tableWidth>1500?'100%':450,
y: tableWidth>1500?'100%':630,
}}
expandable={{
columnWidth: 0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment