ant-design-vue/components/alert/demo/description.md

918 B

#### 含有辅助性文字介绍 含有辅助性文字介绍的警告提示。 #### Description Additional description for alert message.
<template>
  <div>
    <a-alert
      message="Success Text"
      type="success"
    >
      <p slot="description">
        Success Description <span style="color: red">Success</span> Description Success Description
      </p>
    </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"
    />
  </div>
</template>