fix customer detail to point account transition

This commit is contained in:
Timi
2026-08-13 14:46:29 +08:00
parent 71d6340669
commit fa1f5f1f2d
2 changed files with 18 additions and 2 deletions
+5 -1
View File
@@ -408,7 +408,11 @@ async function toPointAccount(): Promise<void> {
}
await router.push({
name: "PointAccount",
query: { customerId: customer.value.id, storeId: customer.value.storeId || "" }
query: {
customerId: customer.value.id,
storeId: customer.value.storeId || "",
transitionDepth: String(Number(route.meta.depth ?? 0) + 1)
}
});
}