fix customer detail transition
This commit is contained in:
@@ -408,7 +408,11 @@ async function toCustomerDetail(): Promise<void> {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
await router.push(`/management/customers/${customerId}`);
|
await router.push({
|
||||||
|
name: "CustomerDetail",
|
||||||
|
params: { id: customerId },
|
||||||
|
query: { transitionDepth: String(getCurrentRouteDepth() + 1) }
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
async function toEventDetail(): Promise<void> {
|
async function toEventDetail(): Promise<void> {
|
||||||
|
|||||||
Reference in New Issue
Block a user