Skip to content

Commit 0f62d39

Browse files
committed
Modification de la navigation dans le layout par le remplacement de ':href' par ':to' pour une meilleure gestion des routes
1 parent e1c33cc commit 0f62d39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layouts/default.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ q-layout(view="hHh LpR lff" style="margin-top: -1px;")
1313
div(v-for="menu in getMenuByPart(part)")
1414
q-item(v-if="menu.hideInMenuBar !== true"
1515
:key="part" clickable v-ripple
16-
:href="menu.path" :active="menu.path === $route.fullPath"
16+
:to="menu.path" :active="menu.path === $route.fullPath"
1717
)
1818
q-item-section(avatar)
1919
q-icon(:name="menu.icon" :color="menu.color")

0 commit comments

Comments
 (0)