mirror of https://github.com/ElemeFE/element
				
				
				
			Dropdown: fix placement
							parent
							
								
									cf028a42f4
								
							
						
					
					
						commit
						03a01b8dfd
					
				|  | @ -27,8 +27,11 @@ | |||
|     }, | ||||
| 
 | ||||
|     watch: { | ||||
|       '$parent.menuAlign'(val) { | ||||
|         this.currentPlacement = `bottom-${val}`; | ||||
|       '$parent.menuAlign': { | ||||
|         immediate: true, | ||||
|         handler(val) { | ||||
|           this.currentPlacement = `bottom-${val}`; | ||||
|         } | ||||
|       } | ||||
|     } | ||||
|   }; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 qingwei.li
						qingwei.li