fix customer detail transition

This commit is contained in:
Timi
2026-10-30 00:54:50 +08:00
parent 8334fe5d9e
commit 6f7465b78a
+5 -1
View File
@@ -408,7 +408,11 @@ async function toCustomerDetail(): Promise<void> {
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> {