mirror of
https://gitee.com/chu1204505056/vue-admin-beautiful.git
synced 2025-05-04 13:26:34 +08:00
Use .capture event modifiers
This commit is contained in:
parent
136c2d831c
commit
ebf1dc5515
@ -1,11 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<a-menu-item :key="routeChildren.path">
|
<a-menu-item :key="routeChildren.path" @click.capture="handleLink">
|
||||||
<div @click="handleLink">
|
<span class="anticon">
|
||||||
<span class="anticon">
|
<vab-icon :icon="routeChildren.meta.icon"></vab-icon>
|
||||||
<vab-icon :icon="routeChildren.meta.icon"></vab-icon>
|
</span>
|
||||||
</span>
|
<span>{{ routeChildren.meta.title }}</span>
|
||||||
<span>{{ routeChildren.meta.title }}</span>
|
|
||||||
</div>
|
|
||||||
</a-menu-item>
|
</a-menu-item>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user