Skip to content

Commit

Permalink
[feat] add test case and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
qili.taoqili committed Mar 12, 2019
1 parent 1718d71 commit 37ef425
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion demo/GridDemo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ class Demo extends React.Component {
title: '操作1',
width: '200px',
type: 'action',
rightFixed: true,
actions: [{
title: '点击',
callback: () => {
Expand Down
4 changes: 2 additions & 2 deletions demo/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ import Demo5 from './TableGroup';
import Demo6 from './TableRowGroup';
import '../style';

// ReactDOM.render(<Demo />, document.getElementById('UXCoreDemo'));
ReactDOM.render(<Demo />, document.getElementById('UXCoreDemo'));
// ReactDOM.render(<Demo2 />, document.getElementById('UXCoreDemo2'));
ReactDOM.render(<Demo3 />, document.getElementById('UXCoreDemo3'));
// ReactDOM.render(<Demo3 />, document.getElementById('UXCoreDemo3'));
// ReactDOM.render(<Demo4 />, document.getElementById('UXCoreDemo4'));
// ReactDOM.render(<Demo5 />, document.getElementById('UXCoreDemo5'));
// ReactDOM.render(<Demo6 />, document.getElementById('UXCoreDemo6'));
4 changes: 2 additions & 2 deletions src/Header/HeaderCell.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,10 +322,10 @@ class HeaderCell extends React.Component {
<MessageIcon message={column.message} prefixCls={`${prefixCls}-msg`} />
{
columnResizeable
& column.type !== 'treeIcon'
&& column.type !== 'treeIcon'
&& column.type !== 'checkboxSelector'
&& column.type !== 'radioSelector'
&& !column.fixed
// && !column.fixed
&& !column.rightFixed
&& !column.hidden
&& !last
Expand Down

0 comments on commit 37ef425

Please sign in to comment.