docs(message): remove redundant props (#5468)
							parent
							
								
									bfdc6749f9
								
							
						
					
					
						commit
						b4b2732133
					
				|  | @ -27,7 +27,7 @@ This components provides some static methods, with usage and arguments as follow | |||
| | --- | --- | --- | --- | | ||||
| | content | content of the message | string\| VNode \| () => VNode | - | | ||||
| | duration | time(seconds) before auto-dismiss, don't dismiss if set to 0 | number | 1.5 | | ||||
| | onClose | Specify a function that will be called when the message is closed | Function | - | | ||||
| | onClose | Specify a function that will be called when the message is closed | function | - | | ||||
| 
 | ||||
| `afterClose` can be called in then-able interface: | ||||
| 
 | ||||
|  | @ -56,7 +56,6 @@ The properties of config are as follows: | |||
| | style | Customized inline style | CSSProperties | - |  | | ||||
| | onClick | Specify a function that will be called when the message is clicked | function | - |  | | ||||
| | onClose | Specify a function that will be called when the message is closed | function | - |  | | ||||
| | onClose | Specify a function that will be called when the message is closed | function | - |  | | ||||
| 
 | ||||
| ### Global static methods | ||||
| 
 | ||||
|  |  | |||
|  | @ -28,7 +28,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/hAkKTIW0K/Message.svg | |||
| | --- | --- | --- | --- | | ||||
| | content | 提示内容 | string\| VNode \| () => VNode | - | | ||||
| | duration | 自动关闭的延时,单位秒。设为 0 时不自动关闭。 | number | 3 | | ||||
| | onClose | 关闭时触发的回调函数 | Function | - | | ||||
| | onClose | 关闭时触发的回调函数 | function | - | | ||||
| 
 | ||||
| 组件同时提供 promise 接口 | ||||
| 
 | ||||
|  | @ -58,7 +58,6 @@ cover: https://gw.alipayobjects.com/zos/alicdn/hAkKTIW0K/Message.svg | |||
| | key | 当前提示的唯一标志 | string \| number | - |  | | ||||
| | style | 自定义内联样式 | CSSProperties | - |  | | ||||
| | onClick | 点击 message 时触发的回调函数 | function | - |  | | ||||
| | onClose | 关闭时触发的回调函数 | Function | - |  | | ||||
| | onClose | 关闭时触发的回调函数 | function | - |  | | ||||
| 
 | ||||
| ### 全局方法 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 bqy_fe
						bqy_fe