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"); // 滚到最下