@@ -163,7 +163,7 @@ class Multiple extends react.Component{
}
handleMouseDown(){
const {i,setSelectArea,boxMark}= this.props;
- setSelectArea({i,boxMark,dir:'start'});
+ !this.state.editable&&setSelectArea({i,boxMark,dir:'start'});
componentDidMount(){
if(isIE()){
@@ -151,7 +151,7 @@ class RadioDrop extends Component{
render(){
const {data,placeholder,show,value,hideTag,boxMark,select_start,i} = this.props;
@@ -376,7 +376,7 @@ class SpreadDrop extends Component{
@@ -151,7 +151,6 @@ export function recoveTag(state,action) {
const sonMInx = arr.findIndex((it)=>it.flag=='3');
arr.splice(sonMInx,1);
- console.log([...action.data].reverse()[0],arr[action.index]);
const lastReTag = [...action.data].reverse()[0];
if(lastReTag.tagType=='8'&&arr[action.index].tagType=='8'){
//要恢复的标签组最后为文本标签,插入位置也为文本标签,则将2个合并为一个文本标签