Selaa lähdekoodia

查体选中杂音类后点击报错bug修改

zhouna 5 vuotta sitten
vanhempi
commit
f8491114e3
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      src/components/SpreadDrop/index.jsx

+ 1 - 0
src/components/SpreadDrop/index.jsx

@@ -192,6 +192,7 @@ class SpreadDrop extends Component{
     e.stopPropagation();
     const {handleConfirm,ikey,type,tagType,order,mainSaveText,copyType,value,mainData} = this.props;
     const params = Object.assign({},this.state,{ikey,type,tagType,order,mainSaveText,copyType,value,mainData});
+    delete params.tmpDom;       //避免上面deepClone selecteds报错
     handleConfirm&&handleConfirm(params);
 	this.btnClickFlag = true;
     //点确定后隐藏弹窗