fix: refresh picking task by authoritative route

This commit is contained in:
2026-09-09 17:17:37 +08:00
parent 26a3c0c174
commit 6c854b7c18
2 changed files with 32 additions and 0 deletions
+4
View File
@@ -516,6 +516,10 @@
if (!requireSession()) return
this.currentUser = session.currentUser
if (options.taskId) {
// Session display state can belong to the task opened before this route.
// Only the scoped draft restored after loading this task may restore its history.
this.scanValue = ''
this.scanHistory = []
// A local completion marker belongs to the previously opened task. The
// canonical server detail decides whether this task is complete.
this.completedBoxes = {}