Skip to content

Commit 9806f72

Browse files
author
piexlMax(奇淼
committed
fix: 设为首页按钮防止事件穿透
1 parent 7e7ec52 commit 9806f72

File tree

1 file changed

+1
-1
lines changed
  • web/src/view/superAdmin/authority/components

1 file changed

+1
-1
lines changed

web/src/view/superAdmin/authority/components/menus.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
color:
3232
row.defaultRouter === data.name ? '#E6A23C' : '#85ce61'
3333
}"
34-
@click="() => setDefault(data)"
34+
@click.stop="() => setDefault(data)"
3535
>
3636
{{ row.defaultRouter === data.name ? '首页' : '设为首页' }}
3737
</el-button>

0 commit comments

Comments
 (0)