fix(bug): fix router
This commit is contained in:
@@ -263,8 +263,13 @@ export const useBackUrlStore = create(
|
||||
(set) => ({
|
||||
backUrl: null,
|
||||
backTitle: null,
|
||||
setBackProps: (url: string, title?: string) =>
|
||||
set({ backUrl: url, backTitle: title || null }),
|
||||
basePath: "",
|
||||
setBackProps: (url: string, title?: string, basePath?: string) =>
|
||||
set({
|
||||
backUrl: url,
|
||||
backTitle: title || null,
|
||||
basePath: basePath || "",
|
||||
}),
|
||||
}),
|
||||
{
|
||||
name: "back_url",
|
||||
|
||||
Reference in New Issue
Block a user