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>
 |