提交 4cddf515 authored 作者: 钟是志's avatar 钟是志

优化 ZdyTable

上级 918883fe
差异被折叠。
...@@ -5,13 +5,11 @@ ...@@ -5,13 +5,11 @@
*/ */
import React, { Component } from 'react'; import React, { Component } from 'react';
import styles from './style.less'; import styles from './style.less';
import { Icon, Alert, Select, Button } from 'antd'; import { Icon } from 'antd';
import AceEditor from 'react-ace';
import AllImg from '../assets/AllFuc.png'; import AllImg from '../assets/AllFuc.png';
import All2Img from '../assets/AllFuc2.png'; import All2Img from '../assets/AllFuc2.png';
import ExcelBtn from '../excelInitFuc'; import ExcelBtn from '../excelInitFuc';
import RollTab from './rollTab'; import RollTab from './rollTab';
const { Option } = Select;
export default class FormulaForm extends Component { export default class FormulaForm extends Component {
constructor(props) { constructor(props) {
super(props); super(props);
...@@ -149,27 +147,6 @@ export default class FormulaForm extends Component { ...@@ -149,27 +147,6 @@ export default class FormulaForm extends Component {
this.refs.rolltab.setCloseAll(); this.refs.rolltab.setCloseAll();
}}> }}>
{this.props.editor} {this.props.editor}
{/* <AceEditor height={600} width={1200}
placeholder='"请输入js语句"'
mode={"javascript"}
theme={"textmate"}
fontSize={12}
value={aceValue}
onChange={this.onAceChange.bind(this)}
showPrintMargin={true}
showGutter={true}
highlightActiveLine={true}
name="UNIQUE_ID_OF_DIV"
// keyboardHandler="vim"
setOptions={{
enableBasicAutocompletion: true,
enableLiveAutocompletion: true,
enableSnippets: true,
showLineNumbers: true,
tabSize: 2,
}}
editorProps={{ $blockScrolling: true }}
/> */}
</div> </div>
</div> </div>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论