@@ -184,7 +184,7 @@ class NumberDrop extends Component{
return className(isSelected,noTag,orgBorder);
}
getSpanClass(){ //将被替换的文字选中状态显示
- const cls = this.props.show?style['blued']:'';
+ const cls = this.props.show?style['blued']:style['nol'];
return cls;
stopBubble(e){
@@ -6,6 +6,14 @@
background: @blue;
color: #fff;
+ .nol,.blued{
+ min-width:10px;
+ height: 22px;
+ vertical-align: text-bottom;
+ display:inline-block;
+ text-align:center;
+ word-break:break-all;
+ }
.selected{
.selected-tag;
@@ -19,4 +27,12 @@