diff --git a/spug_web/src/pages/deploy/app/AddSelect.js b/spug_web/src/pages/deploy/app/AddSelect.js index f48eb43..08a7359 100644 --- a/spug_web/src/pages/deploy/app/AddSelect.js +++ b/spug_web/src/pages/deploy/app/AddSelect.js @@ -30,7 +30,7 @@ class AddSelect extends React.Component { store.deploy = { is_audit: false, rst_notify: {mode: '0'}, - host_ids: [undefined], + host_ids: [], host_actions: [], server_actions: [] } diff --git a/spug_web/src/pages/deploy/app/Ext1Setup1.js b/spug_web/src/pages/deploy/app/Ext1Setup1.js index 2c73237..0ab2376 100644 --- a/spug_web/src/pages/deploy/app/Ext1Setup1.js +++ b/spug_web/src/pages/deploy/app/Ext1Setup1.js @@ -43,8 +43,8 @@ export default observer(function Ext1Setup1() { - {info.host_ids.length > 0 && `已选择 ${info.host_ids.length} 台`} - + {info.host_ids.length > 0 && 已选择 {info.host_ids.length} 台} + info['git_repo'] = e.target.value} diff --git a/spug_web/src/pages/deploy/app/Ext2Setup1.js b/spug_web/src/pages/deploy/app/Ext2Setup1.js index e84a653..070e7b1 100644 --- a/spug_web/src/pages/deploy/app/Ext2Setup1.js +++ b/spug_web/src/pages/deploy/app/Ext2Setup1.js @@ -44,8 +44,8 @@ export default observer(function Ext2Setup1() { - {info.host_ids.length > 0 && `已选择 ${info.host_ids.length} 台`} - + {info.host_ids.length > 0 && 已选择 {info.host_ids.length} 台} +