mirror of https://github.com/openspug/spug
F 修复从模版添加内容可能会出现undefined问题
parent
d957cabe0b
commit
edb5355b18
|
@ -45,7 +45,7 @@ class ComForm extends React.Component {
|
|||
port: undefined,
|
||||
host: undefined,
|
||||
process: undefined,
|
||||
command: undefined,
|
||||
command: '',
|
||||
showTmp: false,
|
||||
page: 0,
|
||||
}
|
||||
|
|
|
@ -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'] || '',
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue