admin-vben/packages
AxiosLeo aa74a2535b
fix(tabbar): visitHistory field (#7543)
High Severity

The visitHistory field is a Stack<string> class instance persisted to sessionStorage via pinia-plugin-persistedstate. There's no custom serializer or hydration hook. When the page reloads, JSON.parse(JSON.stringify(stack)) produces a plain object {dedup, items, maxSize} that lacks all Stack methods (push, pop, remove, retain, etc.) and the size getter. Pinia's $patch replaces the Stack instance with this plain object, so subsequent calls like this.visitHistory.push(...) will throw a TypeError.
2026-02-11 16:09:37 +08:00
..
@core fix: 双列菜单模式下新增深色侧边栏和深色侧边栏子栏 (#7542) 2026-02-11 16:08:32 +08:00
constants chore: release 5.6.0 2026-02-09 05:09:57 +08:00
effects fix: 双列菜单模式下新增深色侧边栏和深色侧边栏子栏 (#7542) 2026-02-11 16:08:32 +08:00
icons chore: release 5.6.0 2026-02-09 05:09:57 +08:00
locales fix: 双列菜单模式下新增深色侧边栏和深色侧边栏子栏 (#7542) 2026-02-11 16:08:32 +08:00
preferences chore: release 5.6.0 2026-02-09 05:09:57 +08:00
stores fix(tabbar): visitHistory field (#7543) 2026-02-11 16:09:37 +08:00
styles chore: release 5.6.0 2026-02-09 05:09:57 +08:00
types chore: release 5.6.0 2026-02-09 05:09:57 +08:00
utils chore: release 5.6.0 2026-02-09 05:09:57 +08:00