From 916c70a16b93d17894fb2791e469fb9618df81f9 Mon Sep 17 00:00:00 2001 From: vapao Date: Tue, 27 Jul 2021 09:47:39 +0800 Subject: [PATCH] fix issue --- spug_web/src/pages/deploy/app/AddSelect.js | 2 +- spug_web/src/pages/deploy/app/Ext1Setup1.js | 4 ++-- spug_web/src/pages/deploy/app/Ext2Setup1.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) 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} 台} +