Skip to content

Commit

Permalink
fix(pro:layout): correct router-link's path (#1179)
Browse files Browse the repository at this point in the history
  • Loading branch information
Darma1106 committed Oct 1, 2022
1 parent 295c9ad commit 6b3749c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/pro/layout/demo/Slots.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<IxProLayout v-model:activeKey="activeKey" :menus="dataSource" type="both">
<template #itemLabel="item">
<router-link to="pro-layout-demo-Slots">{{ item.label }}</router-link>
<router-link to="#pro-layout-demo-Slots">{{ item.label }}</router-link>
</template>
<template #logo>
<div class="logo">Logo</div>
Expand Down
2 changes: 1 addition & 1 deletion packages/pro/layout/demo/Theme.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<IxProLayout v-model:activeKey="activeKey" :menus="dataSource" type="both" :theme="theme">
<template #itemLabel="item">
<router-link to="pro-layout-demo-Theme">{{ item.label }}</router-link>
<router-link to="#pro-layout-demo-Theme">{{ item.label }}</router-link>
</template>
<template #logo>
<div class="logo">Logo</div>
Expand Down

0 comments on commit 6b3749c

Please sign in to comment.