|
@@ -9,7 +9,7 @@ import addIcon from '@images/addItem.png';
|
|
|
import addIcon1 from '@images/addItem2.png';
|
|
|
import style from "./index.less";
|
|
|
import tools from '@utils/tools';
|
|
|
-import {setFontColorSize} from '@utils/tools';
|
|
|
+import {setFontColorSize,handleMouseUp} from '@utils/tools';
|
|
|
import NumberUnitDrop from '@containers/NumberUnitDrop';
|
|
|
|
|
|
|
|
@@ -255,7 +255,7 @@ class MultSpread extends Component{
|
|
|
}
|
|
|
}
|
|
|
getContClass(){
|
|
|
- const {isImports,ikey,saveText,isExtBlue,mouseSelect,select_start,i,boxMark} = this.props;
|
|
|
+ const {isImports,ikey,saveText,isExtBlue,mouseSelect} = this.props;
|
|
|
const labelInx = tools.getLabelIndex(ikey);
|
|
|
const text = saveText&&saveText[+labelInx];
|
|
|
const ext = !text&&isExtBlue?style['ext']:'';
|
|
@@ -264,7 +264,7 @@ class MultSpread extends Component{
|
|
|
return classNames(orgBorder,ext,selectedArea);
|
|
|
}
|
|
|
render(){
|
|
|
- const {showAdd,addLabelItem,ikey,copyId,textPrefix,textSuffix,isExtBlue} = this.props;
|
|
|
+ const {showAdd,addLabelItem,ikey,copyId,textPrefix,textSuffix,isExtBlue,select_start,i,boxMark} = this.props;
|
|
|
return (<div className={this.getContClass()}
|
|
|
style={{display:'inline-block'}}
|
|
|
onMouseUp={()=>handleMouseUp({select_start,i,boxMark})}
|