File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import { SwipeActionDefaultProps } from './props' ;
2- import fmtEvent from '../_util/fmtEvent' ;
3- import { compareVersion } from '../_util/compareVersion' ;
41import '../_util/assert-component2' ;
5- import { platform } from '../_util/platform' ;
2+ import { compareVersion } from '../_util/compareVersion' ;
3+ import fmtEvent from '../_util/fmtEvent' ;
64import { getInstanceBoundingClientRect } from '../_util/jsapi/get-instance-bounding-client-rect' ;
5+ import { platform } from '../_util/platform' ;
76import { assertAilpayNativeNotSupport } from '../_util/support' ;
7+ import { SwipeActionDefaultProps } from './props' ;
88import { transformOptions } from './wechat' ;
99
1010assertAilpayNativeNotSupport ( 'SwipeAction' ) ;
@@ -249,7 +249,7 @@ Component(
249249 if ( platform ( ) === 'wechat' ) {
250250 this . onChangeEnd ( e ) ;
251251 }
252- this . setData ( { inTouch : false } ) ;
252+ this . setData ( { inTouch : false , swipedL : false , swipedR : false } ) ;
253253 } ,
254254 // 滑动过程中的事件,是内部事件不向外透出,用于控制右侧按钮的位置信息
255255 onChange ( e : any ) {
You can’t perform that action at this time.
0 commit comments