fix(graph/skill): use push to persist history in browser

This commit is contained in:
yyh
2026-01-22 11:30:49 +08:00
parent 2c95622890
commit 62ec464d91

View File

@ -4,7 +4,7 @@ import { ViewType } from '@/app/components/workflow/types'
export const parseAsViewType = parseAsStringEnum<ViewType>(Object.values(ViewType))
.withDefault(ViewType.graph)
.withOptions({
history: 'replace',
history: 'push',
clearOnDefault: true,
})