ant-design-vue/components/message/demo/info.md

28 lines
396 B
Markdown
Raw Normal View History

2018-02-06 08:43:59 +00:00
<cn>
#### 普通提示
信息提醒反馈。
</cn>
<us>
#### Normal prompt
Normal messages as feedbacks.
</us>
```html
<template>
<a-button type="primary" @click="info">Display normal message</a-button>
</template>
<script>
2018-03-20 13:48:01 +00:00
import { message } from 'antd'
2018-02-06 08:43:59 +00:00
export default {
methods: {
info () {
2018-03-20 13:48:01 +00:00
message.info('This is a normal message');
2018-02-06 08:43:59 +00:00
},
}
}
</script>
```