File tree 3 files changed +10
-3
lines changed
3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -19,4 +19,4 @@ Component(ModalFunctionalProps, {
19
19
onCancelButtonTap ( ) {
20
20
triggerEventOnly ( this , 'cancelButtonTap' ) ;
21
21
} ,
22
- } )
22
+ } ) ;
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Component(ModalFunctionalProps, {
5
5
triggerEventOnly ( this , 'close' ) ;
6
6
} ,
7
7
onMaskClose : function ( ) {
8
- if ( this . props . maskClosable ) {
8
+ if ( this . properties . maskClosable ) {
9
9
triggerEventOnly ( this , 'close' ) ;
10
10
}
11
11
} ,
Original file line number Diff line number Diff line change @@ -6,9 +6,16 @@ Component(ModalFunctionalProps, {
6
6
triggerEventOnly ( this , 'close' ) ;
7
7
} ,
8
8
onMaskClose ( ) {
9
+ /// #if WECHAT
10
+ if ( this . properties . maskClosable ) {
11
+ triggerEventOnly ( this , 'close' ) ;
12
+ }
13
+ /// #endif
14
+ /// #if ALIPAY
9
15
if ( this . props . maskClosable ) {
10
16
triggerEventOnly ( this , 'close' ) ;
11
17
}
18
+ /// #endif
12
19
} ,
13
20
onPrimaryButtonTap ( ) {
14
21
triggerEventOnly ( this , 'primaryButtonTap' ) ;
@@ -19,4 +26,4 @@ Component(ModalFunctionalProps, {
19
26
onCancelButtonTap ( ) {
20
27
triggerEventOnly ( this , 'cancelButtonTap' ) ;
21
28
} ,
22
- } )
29
+ } ) ;
You can’t perform that action at this time.
0 commit comments