admin-vben/packages/stores
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
..
src fix(tabbar): visitHistory field (#7543) 2026-02-11 16:09:37 +08:00
package.json chore: release 5.6.0 2026-02-09 05:09:57 +08:00
shim-pinia.d.ts fix: lint 2025-11-17 12:15:14 +08:00
tsconfig.json refactor(project): re-adjust the overall folder 2024-07-23 00:03:59 +08:00