From f7fe5d68e77438fbbb872ee91e7c3cd49893be6b Mon Sep 17 00:00:00 2001 From: Cp0204 Date: Sun, 28 Dec 2025 02:20:40 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AF=BC=E5=85=A5=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E5=90=8E=E8=87=AA=E5=8A=A8=E5=B1=95=E5=BC=80=EF=BC=8C=E6=8F=90?= =?UTF-8?q?=E5=8D=87=E4=BD=93=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/templates/index.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/templates/index.html b/app/templates/index.html index fa1f646..1535186 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -1316,6 +1316,12 @@ task.addition = config_data.task_plugins_config_default;; this.formData.tasklist.push(task); this.showToast("剪贴板参数已成功导入任务", "success"); + // 滚到最下 + setTimeout(() => { + $('#collapse_' + (this.formData.tasklist.length - 1)).collapse('show').on('shown.bs.collapse', () => { + this.scrollToX(); + }); + }, 1); } catch (error) { this.showToast("解析剪贴板内容失败", "error"); }