mirror of https://github.com/openspug/spug
U 优化配置中心表格视图某些情况下的展示效果
parent
8f037576f1
commit
0ccae4f461
|
@ -11,6 +11,7 @@ import { Action } from 'components';
|
||||||
import ComForm from './Form';
|
import ComForm from './Form';
|
||||||
import { http, hasPermission } from 'libs';
|
import { http, hasPermission } from 'libs';
|
||||||
import store from './store';
|
import store from './store';
|
||||||
|
import styles from './index.module.css';
|
||||||
|
|
||||||
@observer
|
@observer
|
||||||
class TableView extends React.Component {
|
class TableView extends React.Component {
|
||||||
|
@ -32,6 +33,7 @@ class TableView extends React.Component {
|
||||||
}, {
|
}, {
|
||||||
title: 'Value',
|
title: 'Value',
|
||||||
dataIndex: 'value',
|
dataIndex: 'value',
|
||||||
|
className: styles.value
|
||||||
}, {
|
}, {
|
||||||
title: '修改人',
|
title: '修改人',
|
||||||
width: 120,
|
width: 120,
|
||||||
|
|
|
@ -29,3 +29,7 @@
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.value {
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
Loading…
Reference in New Issue