@@ -248,6 +248,15 @@ class EditableSpan extends Component{
}
}*/
+ /*cancelSelect(e){//双击不选中
+ if(document.selection&&document.selection.empty){
+ document.selection.empty();
+ }else if (window.getSelection) {
+ var sel=window.getSelection();
+ sel.removeAllRanges();
+ }
+ }*/
+
getClass(){
const {full,value,saveText,i} = this.props;
const preSelected = saveText[i-1];
@@ -104,7 +104,8 @@ export const setData = (state,action) =>{
if (useEmpty) {
- res.data = res.emptyData;
+ // res.data = res.emptyData;
+ res.data = JSON.parse(JSON.stringify(res.emptyData));
} else {
// 目前只需要将第一个主诉病程移植到现病史
let tongYong = "";