fix: alert animation (#5927)

This commit is contained in:
Netfan
2025-04-12 10:37:47 +08:00
committed by GitHub
parent 36bf6fc149
commit 4a2c7b313f
4 changed files with 29 additions and 13 deletions

View File

@@ -138,6 +138,7 @@ function openConfirm() {
}, 1000);
});
},
centered: false,
content: '这是一个确认弹窗',
icon: 'question',
})
@@ -160,6 +161,7 @@ async function openPrompt() {
componentProps: { placeholder: '不能吃芝士...' },
content: '中午吃了什么?',
icon: 'question',
overlayBlur: 3,
})
.then((res) => {
message.success(`用户输入了:${res}`);