Commit eb9e2bd1e2f3c31262d568894d67cd0fe67ea73f

Authored by 梁灏
1 parent 16706b2e

update alert demo

Showing 1 changed file with 9 additions and 0 deletions   Show diff stats
examples/routers/alert.vue
... ... @@ -51,6 +51,15 @@
51 51 </Alert>
52 52 <Alert banner type="warning">Notice: notification contents...</Alert>
53 53 <Alert banner closable type="warning">Notice: notification contents...</Alert>
  54 + <Alert closable>An info prompt</Alert>
  55 + <Alert type="success" show-icon closable>
  56 + A success prompt
  57 + <span slot="desc">Content of prompt. Content of prompt. Content of prompt. Content of prompt. </span>
  58 + </Alert>
  59 + <Alert type="warning" closable>
  60 + Custom closing content
  61 + <span slot="close">No longer prompt</span>
  62 + </Alert>
54 63 </div>
55 64 </template>
56 65 <script>
... ...