mirror of
				https://gitee.com/vant-contrib/vant.git
				synced 2025-11-04 21:02:09 +08:00 
			
		
		
		
	[Doc] Dialog: fix get-container props default value (#3822)
This commit is contained in:
		
							parent
							
								
									3c9dc4edfe
								
							
						
					
					
						commit
						22f28b44ff
					
				@ -152,7 +152,7 @@ export default {
 | 
				
			|||||||
| close-on-click-overlay | Whether to close when click overlay | `Boolean` | `false` |
 | 
					| close-on-click-overlay | Whether to close when click overlay | `Boolean` | `false` |
 | 
				
			||||||
| lock-scroll | Whether to lock background scroll | `Boolean` | `true` |
 | 
					| lock-scroll | Whether to lock background scroll | `Boolean` | `true` |
 | 
				
			||||||
| before-close | Callback before close,<br>call done() to close dialog,<br>call done(false) to cancel loading | (action: string, done: function) => void | - |
 | 
					| before-close | Callback before close,<br>call done() to close dialog,<br>call done(false) to cancel loading | (action: string, done: function) => void | - |
 | 
				
			||||||
| get-container | Return the mount node for Dialog | `String | () => HTMLElement` | `body` |
 | 
					| get-container | Return the mount node for Dialog | `String | () => HTMLElement` | - |
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Events
 | 
					### Events
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -183,7 +183,7 @@ export default {
 | 
				
			|||||||
| close-on-click-overlay | 是否在点击遮罩层后关闭 | `Boolean` | `false` | - |
 | 
					| close-on-click-overlay | 是否在点击遮罩层后关闭 | `Boolean` | `false` | - |
 | 
				
			||||||
| lock-scroll | 是否锁定背景滚动 | `Boolean` | `true` | - |
 | 
					| lock-scroll | 是否锁定背景滚动 | `Boolean` | `true` | - |
 | 
				
			||||||
| before-close | 关闭前的回调函数,<br>调用 done() 后关闭弹窗,<br>调用 done(false) 阻止弹窗关闭 | `(action, done) => void` | - | - |
 | 
					| before-close | 关闭前的回调函数,<br>调用 done() 后关闭弹窗,<br>调用 done(false) 阻止弹窗关闭 | `(action, done) => void` | - | - |
 | 
				
			||||||
| get-container | 指定挂载的节点,可以传入选择器,<br>或一个返回节点的函数 | `String | () => HTMLElement` | `body` | - |
 | 
					| get-container | 指定挂载的节点,可以传入选择器,<br>或一个返回节点的函数 | `String | () => HTMLElement` | - | - |
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Events
 | 
					### Events
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user