|
@@ -3,6 +3,8 @@ import style from "./index.less";
|
|
import Notify from '../Notify';
|
|
import Notify from '../Notify';
|
|
import config from '@config/index';
|
|
import config from '@config/index';
|
|
import {setLastPosition} from '@common/js/util';
|
|
import {setLastPosition} from '@common/js/util';
|
|
|
|
+import {isIE} from '@utils/tools.js';
|
|
|
|
+import $ from "jquery";
|
|
|
|
|
|
class Textarea extends Component {
|
|
class Textarea extends Component {
|
|
constructor(props) {
|
|
constructor(props) {
|
|
@@ -69,6 +71,11 @@ class Textarea extends Component {
|
|
if(value){
|
|
if(value){
|
|
this.$dom.current.innerText = value||'';
|
|
this.$dom.current.innerText = value||'';
|
|
}
|
|
}
|
|
|
|
+ if(isIE()){
|
|
|
|
+ $(this.$dom.current).onIe8Input(function(e){
|
|
|
|
+ this.handleInput(e)
|
|
|
|
+ },this);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
render() {
|
|
render() {
|
|
const { title } = this.props;
|
|
const { title } = this.props;
|