mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
[Improvement] Popup: support lazy render (#1138)
This commit is contained in:
@@ -61,6 +61,7 @@ export default {
|
||||
|
||||
// close popup when click modal && closeOnClickOverlay is true
|
||||
onClick() {
|
||||
/* istanbul ignore else */
|
||||
if (context.top) {
|
||||
const { vm } = context.top;
|
||||
vm.$emit('click-overlay');
|
||||
|
Reference in New Issue
Block a user