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:
liang.cheng 2024-08-27 14:48:24 +08:00
commit ed2f6bd9ff
1 changed files with 1 additions and 1 deletions

View File

@ -506,7 +506,7 @@ export default class Resource extends React.Component {
getTableWidth = (columns) => {
const columnLength = columns.filter((col)=>col.display === 'true').length;
if(columnLength>10){
return columnLength*150;
return columnLength*100;
}else{
return '100%'
}