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

445 B

#### 四种样式 共有四种样式 `success`、`info`、`warning`、`error`。 #### More types There are 4 types of Alert: `success`, `info`, `warning`, `error`.
<template>
  <div>
    <a-alert message="Success Text" type="success" />
    <a-alert message="Info Text" type="info" />
    <a-alert message="Warning Text" type="warning" />
    <a-alert message="Error Text" type="error" />
  </div>
</template>