fix: icon support native event
							parent
							
								
									d63935e506
								
							
						
					
					
						commit
						cffef392e5
					
				|  | @ -123,8 +123,9 @@ const Icon = { | |||
|         /> | ||||
|       ) | ||||
|     } | ||||
|     // functional component not support nativeOn,https://github.com/vuejs/vue/issues/7526
 | ||||
|     const iProps = { | ||||
|       ...data, on: listeners, class: classString, staticClass: '', | ||||
|       ...data, on: { ...listeners, ...data.nativeOn }, class: classString, staticClass: '', | ||||
|     } | ||||
|     return ( | ||||
|       <i {...iProps}> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 tangjinzhou
						tangjinzhou