refactor(ui): 优化 Alert 组件的包裹结构

This commit is contained in:
dap
2026-03-23 11:49:44 +08:00
parent aa1ffd221b
commit b69447efea

View File

@@ -84,10 +84,16 @@ function keepOneMessage() {
<template> <template>
<div class="p-5"> <div class="p-5">
<Alert class="mb-5" :show-icon="true" type="success"> <div class="mb-5">
<Alert :show-icon="true" type="success">
<template #message> <template #message>
该分支使用antdv-next替代不维护的ant-design-vue 该分支使用antdv-next替代不维护的ant-design-vue
<a-button class="ml-2" size="small" type="primary" @click="handleClick"> <a-button
class="ml-2"
size="small"
type="primary"
@click="handleClick"
>
新的 notification 样式 新的 notification 样式
</a-button> </a-button>
<a-button <a-button
@@ -100,6 +106,7 @@ function keepOneMessage() {
</a-button> </a-button>
</template> </template>
</Alert> </Alert>
</div>
<Spin :spinning="loading"> <Spin :spinning="loading">
<MarkdownPreviewer <MarkdownPreviewer