Files
ruoyi-plus-vben5/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
..
2026-02-09 05:09:57 +08:00
2026-02-09 05:09:57 +08:00
2026-02-09 05:09:57 +08:00
2026-02-09 05:09:57 +08:00
2026-02-09 05:09:57 +08:00
2026-02-09 05:09:57 +08:00