F 修复从模版添加内容可能会出现undefined问题

pull/220/head
vapao 2020-09-29 19:32:21 +08:00
parent d957cabe0b
commit edb5355b18
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ class ComForm extends React.Component {
port: undefined,
host: undefined,
process: undefined,
command: undefined,
command: '',
showTmp: false,
page: 0,
}

View File

@ -28,7 +28,7 @@ class ComForm extends React.Component {
page: 0,
nextRunTime: null,
args: {[store.record['trigger']]: store.record['trigger_args']},
command: store.record['command'],
command: store.record['command'] || '',
}
}