You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
536 B
36 lines
536 B
<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>
|