|
@@ -1,8 +1,10 @@
|
|
|
import React,{Component} from 'react';
|
|
|
import style from './index.less';
|
|
|
import config from "@config/index";
|
|
|
-import {filterArr,handleEnter} from '@utils/tools.js';
|
|
|
+import {filterArr,handleEnter,isIE} from '@utils/tools.js';
|
|
|
import Notify from '../Notify/index.js';
|
|
|
+
|
|
|
+import $ from 'jquery';
|
|
|
/*****
|
|
|
* author:zn@2018-12-10
|
|
|
* 自由文本输入组件
|
|
@@ -147,6 +149,11 @@ class EditableSpan extends Component{
|
|
|
if(value){
|
|
|
this.$span.current.innerText = value||'';
|
|
|
}
|
|
|
+ if(isIE()){
|
|
|
+ $(this.$span.current).onIe8Input(function(e){
|
|
|
+ this.onChange(e)
|
|
|
+ },this);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
render() {
|