mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-15 09:21:25 +08:00
45 lines
926 B
Vue
45 lines
926 B
Vue
|
<docs>
|
||
|
---
|
||
|
order: 3
|
||
|
title:
|
||
|
zh-CN: 含有辅助性文字介绍
|
||
|
en-US: Description
|
||
|
---
|
||
|
|
||
|
## zh-CN
|
||
|
|
||
|
含有辅助性文字介绍的警告提示。
|
||
|
|
||
|
## en-US
|
||
|
|
||
|
Additional description for alert message.
|
||
|
|
||
|
</docs>
|
||
|
|
||
|
<template>
|
||
|
<a-alert message="Success Text" type="success">
|
||
|
<template #description>
|
||
|
<p>
|
||
|
Success Description
|
||
|
<span style="color: red">Success</span>
|
||
|
Description Success Description
|
||
|
</p>
|
||
|
</template>
|
||
|
</a-alert>
|
||
|
<a-alert
|
||
|
message="Info Text"
|
||
|
description="Info Description Info Description Info Description Info Description"
|
||
|
type="info"
|
||
|
/>
|
||
|
<a-alert
|
||
|
message="Warning Text"
|
||
|
description="Warning Description Warning Description Warning Description Warning Description"
|
||
|
type="warning"
|
||
|
/>
|
||
|
<a-alert
|
||
|
message="Error Text"
|
||
|
description="Error Description Error Description Error Description Error Description"
|
||
|
type="error"
|
||
|
/>
|
||
|
</template>
|