提交 551b5ddf authored 作者: 徐立's avatar 徐立
...@@ -230,6 +230,7 @@ export default class List extends Component { ...@@ -230,6 +230,7 @@ export default class List extends Component {
loading, loading,
noSelectRow: !listConfig.selectRows, noSelectRow: !listConfig.selectRows,
onSelectRow: this.handleSelectRows, onSelectRow: this.handleSelectRows,
scroll: {x: true},
}; };
if (!listConfig.paging) { if (!listConfig.paging) {
tableProps.data = { list: data, pagination: false }; tableProps.data = { list: data, pagination: false };
......
...@@ -282,6 +282,7 @@ export default class List extends Component { ...@@ -282,6 +282,7 @@ export default class List extends Component {
loading, loading,
noSelectRow: !listConfig.selectRows, noSelectRow: !listConfig.selectRows,
onSelectRow: this.handleSelectRows, onSelectRow: this.handleSelectRows,
scroll: {x: true},
}; };
if(!listConfig.paging){ if(!listConfig.paging){
tableProps.data = {list: data, pagination:false}; tableProps.data = {list: data, pagination:false};
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论