mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
fix(Dialog): fix(Dialog): closeOnClickOverlay true,overlay click error 'this.onClose is not a function' (#3913)
This commit is contained in:
parent
192e87c2c6
commit
11551cb810
@ -88,7 +88,7 @@ VantComponent({
|
|||||||
},
|
},
|
||||||
|
|
||||||
onClickOverlay() {
|
onClickOverlay() {
|
||||||
this.onClose('overlay');
|
this.close('overlay');
|
||||||
},
|
},
|
||||||
|
|
||||||
close(action) {
|
close(action) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user