From e76663daa3d45e9bf341d4e243b30571e236f83c Mon Sep 17 00:00:00 2001
From: opensnail <598092184@qq.com>
Date: Mon, 9 Sep 2024 21:23:27 +0800
Subject: [PATCH] =?UTF-8?q?feat(sj=5F1.2.0-beta1.1):=20=E4=BC=98=E5=8C=96h?=
 =?UTF-8?q?ttp=E6=89=A7=E8=A1=8C=E5=99=A8=E6=8E=A5=E5=8F=A3=E8=B6=85?=
 =?UTF-8?q?=E6=97=B6=E6=97=B6=E9=97=B4=E8=AE=BE=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../job/task/modules/job-task-operate-drawer.vue   | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/src/views/job/task/modules/job-task-operate-drawer.vue b/src/views/job/task/modules/job-task-operate-drawer.vue
index 6bcacec..00524eb 100644
--- a/src/views/job/task/modules/job-task-operate-drawer.vue
+++ b/src/views/job/task/modules/job-task-operate-drawer.vue
@@ -572,8 +572,18 @@ const scriptMethodOptions = [
             <NFormItem label="Body 参数">
               <CodeMirror v-model="httpParams.body" lang="json" placeholder="请输入 Body 参数" />
             </NFormItem>
-            <NFormItem label="超时时间">
-              <NInputNumber v-model:value="httpParams.timeout" class="w-full" placeholder="请输入超时时间" />
+            <NFormItem label="接口超时时间">
+              <NInputGroup>
+                <NInputNumber
+                  v-model:value="httpParams.timeout"
+                  class="w-full"
+                  :min="1"
+                  :max="99999999"
+                  :placeholder="$t('page.jobTask.form.executorTimeout')"
+                  clearable
+                />
+                <NInputGroupLabel>{{ $t('common.second') }}</NInputGroupLabel>
+              </NInputGroup>
             </NFormItem>
           </NForm>
         </template>