src/tabviews/zshare/mutilform/mkTextArea/index.jsx
@@ -3,7 +3,6 @@ import { Input } from 'antd' import MKEmitter from '@/utils/events.js' import './index.scss' const { TextArea } = Input @@ -30,7 +29,7 @@ if (_value) { try { _value = window.decodeURIComponent(window.atob(_value)) } catch { } catch (e) { _value = config.initval } } @@ -59,6 +58,7 @@ this.inputRef.current.focus() } else if (type === 'input') { this.setState({value}) this.props.onChange(value, true) } } @@ -72,7 +72,7 @@ if (encryption === 'true') { try { _val = window.btoa(window.encodeURIComponent(_val)) } catch { } catch (e) { _val = val } }