|
@@ -214,12 +214,15 @@ export default class ScriptNodeInfo extends React.Component<any, any> {
|
|
|
title="编辑脚本"
|
|
|
open={this.state.scriptModalVisible}
|
|
|
onOk={this.submitScriptEdit}
|
|
|
- okText="确认修改"
|
|
|
className='script-modal'
|
|
|
- cancelText="取消"
|
|
|
width={'90%'}
|
|
|
style={{ top: 20 }}
|
|
|
onCancel={() => {this.setState({scriptModalVisible: false})}}
|
|
|
+ footer={[
|
|
|
+ <Button key="back" onClick={() => {this.setState({scriptModalVisible: false})}}>取消</Button>,
|
|
|
+ <Button key="check" type='primary' onClick={() => {console.log('代码校验');}}>代码校验</Button>,
|
|
|
+ <Button key="submit" type='primary' onClick={this.submitScriptEdit}>确定修改</Button>
|
|
|
+ ]}
|
|
|
>
|
|
|
<div className='modal-container'>
|
|
|
{/* 数据表展示 */}
|