提交 9964c804 authored 作者: wtj's avatar wtj

修改列表宽度不够问题

上级 ba6fa5d5
......@@ -1182,10 +1182,10 @@ class FormList extends React.Component {
} else {
let width = 0;
if (rights && rights.includes('viewProcess')) {
width = width + 90;
width = width + 120;
}
if (rights && rights.includes('view')) {
width = width + 90;
width = width + 120;
}
if (rights && rights.includes('edit')) {
width = width + 70;
......@@ -1200,7 +1200,7 @@ class FormList extends React.Component {
render: (text, record) => {
return (
<Fragment>
<div style={{ textAlign: 'center' }}>
<div style={{ textAlign: 'center',"padding-left":"0px","padding-right":"0px"}}>
{isSelect ? (
this.state.selects.includes(record[valueName]) ? (
<>
......@@ -1219,10 +1219,10 @@ class FormList extends React.Component {
{rights && !rights.includes('view') ? (
''
) : (
<>
<div>
<a onClick={this.view.bind(this, record)}>查看详情</a>
<Divider type="vertical" />
</>
</div>
)}
{rights && !rights.includes('edit') ? (
''
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论