diff --git a/spug_web/src/pages/deploy/request/Ext1Form.js b/spug_web/src/pages/deploy/request/Ext1Form.js index f28c990..bbd455a 100644 --- a/spug_web/src/pages/deploy/request/Ext1Form.js +++ b/spug_web/src/pages/deploy/request/Ext1Form.js @@ -226,8 +226,10 @@ export default observer(function () { )} - {host_ids.length > 0 && `已选择 ${host_ids.length} 台(可选${app_host_ids.length})`} - + {host_ids.length > 0 && ( + 已选择 {host_ids.length} 台(可选{app_host_ids.length}) + )} + diff --git a/spug_web/src/pages/deploy/request/Ext2Form.js b/spug_web/src/pages/deploy/request/Ext2Form.js index fb46e1e..56d697a 100644 --- a/spug_web/src/pages/deploy/request/Ext2Form.js +++ b/spug_web/src/pages/deploy/request/Ext2Form.js @@ -99,8 +99,10 @@ export default observer(function () { )} - {host_ids.length > 0 && `已选择 ${host_ids.length} 台(可选${app_host_ids.length})`} - + {host_ids.length > 0 && ( + 已选择 {host_ids.length} 台(可选{app_host_ids.length}) + )} + diff --git a/spug_web/src/pages/deploy/request/Rollback.js b/spug_web/src/pages/deploy/request/Rollback.js index bf2d8fd..4e9003f 100644 --- a/spug_web/src/pages/deploy/request/Rollback.js +++ b/spug_web/src/pages/deploy/request/Rollback.js @@ -71,8 +71,10 @@ export default observer(function () { - {host_ids.length > 0 && `已选择 ${host_ids.length} 台(可选${app_host_ids.length})`} - + {host_ids.length > 0 && ( + 已选择 {host_ids.length} 台(可选{app_host_ids.length}) + )} + diff --git a/spug_web/src/pages/monitor/Step1.js b/spug_web/src/pages/monitor/Step1.js index 957c41c..86901de 100644 --- a/spug_web/src/pages/monitor/Step1.js +++ b/spug_web/src/pages/monitor/Step1.js @@ -131,7 +131,9 @@ export default observer(function () { notFoundContent={null}/> - {store.record.targets?.length > 0 && `已选择 ${store.record.targets.length} 台`} + {store.record.targets?.length > 0 && ( + 已选择 {store.record.targets.length} 台 + )}