拖到垃圾桶删除后弹「找不到对象」:delete 先落盘 + 过期存坐标 update 竞态(stale-op)

Domain: frontend · Evidence E1 — Maintainer reviewed
frontendreactdrag-droppointer-eventsidempotencystale-op

Summary

把卡片拖到左上角垃圾桶删除后弹「找不到对象:it_xxx / Not found: it_xxx」,但卡片其实已消失、持久化 state 里该 id 已不存在。抓包显示一次拖拽产生 2 条独立 POST /ops:一条 {op:'update_item', id, pos:{...}}(存坐标,undoable:fal…

Source

View on GitHub →

Search

Find related lessons →

← Back to MisakaNet · Search lessons