fix: 设为首页按钮防止事件穿透
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
color:
|
color:
|
||||||
row.defaultRouter === data.name ? '#E6A23C' : '#85ce61'
|
row.defaultRouter === data.name ? '#E6A23C' : '#85ce61'
|
||||||
}"
|
}"
|
||||||
@click="() => setDefault(data)"
|
@click.stop="() => setDefault(data)"
|
||||||
>
|
>
|
||||||
{{ row.defaultRouter === data.name ? '首页' : '设为首页' }}
|
{{ row.defaultRouter === data.name ? '首页' : '设为首页' }}
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|||||||
Reference in New Issue
Block a user