36 lines
536 B
Vue
36 lines
536 B
Vue
<docs>
|
|
---
|
|
order: 0
|
|
title:
|
|
zh-CN: 普通提示
|
|
en-US: Normal prompt
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
信息提醒反馈。
|
|
|
|
## en-US
|
|
|
|
Normal message for information.
|
|
|
|
</docs>
|
|
|
|
<template>
|
|
<a-button type="primary" @click="info">Display normal message</a-button>
|
|
</template>
|
|
<script lang="ts">
|
|
import { message } from 'ant-design-vue';
|
|
import { defineComponent } from 'vue';
|
|
export default defineComponent({
|
|
setup() {
|
|
const info = () => {
|
|
message.info('This is a normal message');
|
|
};
|
|
return {
|
|
info,
|
|
};
|
|
},
|
|
});
|
|
</script>
|