From 55e338f35c8c845f8839391e1f9a57c55d3bec8c Mon Sep 17 00:00:00 2001 From: Cp0204 Date: Sun, 28 Dec 2025 12:23:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E5=8F=82=E6=95=B0=E7=BC=BA=E5=A4=B1=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/templates/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/index.html b/app/templates/index.html index 1535186..0844c96 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -1312,8 +1312,8 @@ } if (text) { try { - const task = JSON.parse(text); - task.addition = config_data.task_plugins_config_default;; + let task = JSON.parse(text); + task = { ...this.newTask, ...task }; this.formData.tasklist.push(task); this.showToast("剪贴板参数已成功导入任务", "success"); // 滚到最下