diff --git a/frontend/src/views/setting/system/resourcePool/detail.vue b/frontend/src/views/setting/system/resourcePool/detail.vue index 8ceb5bf943..a090c957d1 100644 --- a/frontend/src/views/setting/system/resourcePool/detail.vue +++ b/frontend/src/views/setting/system/resourcePool/detail.vue @@ -331,8 +331,16 @@ @@ -357,13 +365,17 @@ @@ -744,6 +756,17 @@ function changeResourceType(val: string | number | boolean) { if (val === 'Kubernetes') { setBatchFormRes(); + } else { + form.value.testResourceDTO.concurrentNumber = 10; + form.value.testResourceDTO.singleTaskConcurrentNumber = 3; + form.value.testResourceDTO.nodesList = [ + { + ip: '', + port: '', + concurrentNumber: 10, + singleTaskConcurrentNumber: 3, + }, + ]; } setIsSave(false); } @@ -923,6 +946,10 @@ function handleBack() { router.replace({ name: SettingRouteEnum.SETTING_SYSTEM_RESOURCE_POOL }); } + + function goTry() { + window.open('https://jinshuju.net/f/CzzAOe', '_blank'); + }