fix: 完善商品—模特库-视频项目-自由创作等删除先进垃圾桶及可恢复等流程

This commit is contained in:
hh
2026-07-10 15:06:07 +08:00
parent 3e52942547
commit 564215dc53
28 changed files with 1086 additions and 190 deletions
+1 -1
View File
@@ -434,7 +434,7 @@ export function FreeCreatePage({ modelConfigs, onNotify }: {
setTasks((prev) => prev.filter((t) => t.id !== target.id));
setTotal((prev) => Math.max(0, prev - 1));
if (detailId === target.id) setDetailId(null);
notify("success", "已删除");
notify("success", "已移至垃圾桶");
} catch (error) {
notify("error", error instanceof Error ? error.message : "删除失败");
} finally {