Merge pull request '花名册列宽修复' (#57) from feature/cl into dev
Reviewed-on: http://221.226.25.34:3000/liang.cheng/trunk/pulls/57
This commit is contained in:
commit
ed2f6bd9ff
|
|
@ -506,7 +506,7 @@ export default class Resource extends React.Component {
|
||||||
getTableWidth = (columns) => {
|
getTableWidth = (columns) => {
|
||||||
const columnLength = columns.filter((col)=>col.display === 'true').length;
|
const columnLength = columns.filter((col)=>col.display === 'true').length;
|
||||||
if(columnLength>10){
|
if(columnLength>10){
|
||||||
return columnLength*150;
|
return columnLength*100;
|
||||||
}else{
|
}else{
|
||||||
return '100%'
|
return '100%'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue