fix: alert action button focus, fixed #5921 (#5922)

* 修复Alert组件的按钮焦点切换问题
This commit is contained in:
Netfan
2025-04-12 00:59:56 +08:00
committed by GitHub
parent 86da3cedc2
commit 9bd5a190c2
2 changed files with 7 additions and 3 deletions

View File

@@ -261,6 +261,9 @@ async function openPrompt() {
</template>
</Card>
<Card class="w-[300px]" title="轻量提示弹窗">
<template #extra>
<DocButton path="/components/common-ui/vben-alert" />
</template>
<p>通过快捷方法创建动态提示弹窗适合一些轻量的提示和确认输入等</p>
<template #actions>
<Button type="primary" @click="openAlert">Alert</Button>