fix: LoadData增加loading图标
This commit is contained in:
parent
db66feabcd
commit
412544877c
|
@ -240,7 +240,7 @@
|
|||
border: 0 none;
|
||||
cursor: pointer;
|
||||
outline: none; }
|
||||
.u-tree .u-tree li span.u-tree-icon_loading:after {
|
||||
.u-tree li span.u-tree-icon_loading:after {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
background: url("data:image/gif;base64,R0lGODlhEAAQAKIGAMLY8YSx5HOm4Mjc88/g9Ofw+v///wAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgAGACwAAAAAEAAQAAADMGi6RbUwGjKIXCAA016PgRBElAVlG/RdLOO0X9nK61W39qvqiwz5Ls/rRqrggsdkAgAh+QQFCgAGACwCAAAABwAFAAADD2hqELAmiFBIYY4MAutdCQAh+QQFCgAGACwGAAAABwAFAAADD1hU1kaDOKMYCGAGEeYFCQAh+QQFCgAGACwKAAIABQAHAAADEFhUZjSkKdZqBQG0IELDQAIAIfkEBQoABgAsCgAGAAUABwAAAxBoVlRKgyjmlAIBqCDCzUoCACH5BAUKAAYALAYACgAHAAUAAAMPaGpFtYYMAgJgLogA610JACH5BAUKAAYALAIACgAHAAUAAAMPCAHWFiI4o1ghZZJB5i0JACH5BAUKAAYALAAABgAFAAcAAAMQCAFmIaEp1motpDQySMNFAgA7") no-repeat scroll 0 0 transparent;
|
||||
|
|
|
@ -5414,7 +5414,7 @@ a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu,
|
|||
border: 0 none;
|
||||
cursor: pointer;
|
||||
outline: none; }
|
||||
.u-tree .u-tree li span.u-tree-icon_loading:after {
|
||||
.u-tree li span.u-tree-icon_loading:after {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
background: url("data:image/gif;base64,R0lGODlhEAAQAKIGAMLY8YSx5HOm4Mjc88/g9Ofw+v///wAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgAGACwAAAAAEAAQAAADMGi6RbUwGjKIXCAA016PgRBElAVlG/RdLOO0X9nK61W39qvqiwz5Ls/rRqrggsdkAgAh+QQFCgAGACwCAAAABwAFAAADD2hqELAmiFBIYY4MAutdCQAh+QQFCgAGACwGAAAABwAFAAADD1hU1kaDOKMYCGAGEeYFCQAh+QQFCgAGACwKAAIABQAHAAADEFhUZjSkKdZqBQG0IELDQAIAIfkEBQoABgAsCgAGAAUABwAAAxBoVlRKgyjmlAIBqCDCzUoCACH5BAUKAAYALAYACgAHAAUAAAMPaGpFtYYMAgJgLogA610JACH5BAUKAAYALAIACgAHAAUAAAMPCAHWFiI4o1ghZZJB5i0JACH5BAUKAAYALAAABgAFAAcAAAMQCAFmIaEp1motpDQySMNFAgA7") no-repeat scroll 0 0 transparent;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -6979,6 +6979,10 @@
|
|||
if (child.props.hasOwnProperty('selectable')) {
|
||||
selectable = child.props.selectable;
|
||||
}
|
||||
var draggable = props.draggable;
|
||||
if (child.props.hasOwnProperty('draggable')) {
|
||||
draggable = child.props.draggable;
|
||||
}
|
||||
|
||||
var cloneProps = {
|
||||
ref: 'treeNode-' + key,
|
||||
|
@ -6994,7 +6998,7 @@
|
|||
prefixCls: props.prefixCls,
|
||||
showLine: props.showLine,
|
||||
showIcon: props.showIcon,
|
||||
draggable: props.draggable,
|
||||
draggable: draggable,
|
||||
dragOver: state.dragOverNodeKey === key && this.dropPosition === 0,
|
||||
dragOverGapTop: state.dragOverNodeKey === key && this.dropPosition === -1,
|
||||
dragOverGapBottom: state.dragOverNodeKey === key && this.dropPosition === 1,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bee-tree",
|
||||
"version": "1.1.3",
|
||||
"version": "1.1.4",
|
||||
"description": "Tree ui component for react",
|
||||
"keywords": [
|
||||
"react",
|
||||
|
|
|
@ -174,7 +174,7 @@ $treePrefixCls : "u-tree";
|
|||
cursor: pointer;
|
||||
outline: none;
|
||||
}
|
||||
.u-tree li span.u-tree-icon_loading:after {
|
||||
li span.u-tree-icon_loading:after {
|
||||
display: inline-block;
|
||||
// margin-right: 2px;
|
||||
vertical-align: middle;
|
||||
|
|
Loading…
Reference in New Issue