update alert demo

This commit is contained in:
梁灏 2018-06-25 20:39:09 +08:00
parent 16706b2eef
commit eb9e2bd1e2

View file

@ -51,6 +51,15 @@
</Alert> </Alert>
<Alert banner type="warning">Notice: notification contents...</Alert> <Alert banner type="warning">Notice: notification contents...</Alert>
<Alert banner closable type="warning">Notice: notification contents...</Alert> <Alert banner closable type="warning">Notice: notification contents...</Alert>
<Alert closable>An info prompt</Alert>
<Alert type="success" show-icon closable>
A success prompt
<span slot="desc">Content of prompt. Content of prompt. Content of prompt. Content of prompt. </span>
</Alert>
<Alert type="warning" closable>
Custom closing content
<span slot="close">No longer prompt</span>
</Alert>
</div> </div>
</template> </template>
<script> <script>