fix: 修复任务导入参数缺失导致的错误
Some checks failed
Docker Publish / build-and-push (push) Has been cancelled

This commit is contained in:
Cp0204 2025-12-28 12:23:20 +08:00
parent f7fe5d68e7
commit 55e338f35c

View File

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