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