|
|
@@ -225,9 +225,9 @@ export default create({
|
|
|
});
|
|
|
onDeactivated(() => {
|
|
|
state.keepAlive = true;
|
|
|
- (myDrag as any).removeEventListener('touchstart', touchStart);
|
|
|
- (myDrag as any).removeEventListener('touchmove', touchMove);
|
|
|
- (myDrag as any).removeEventListener('touchend', touchEnd);
|
|
|
+ (myDrag as any).value.removeEventListener('touchstart', touchStart);
|
|
|
+ (myDrag as any).value.removeEventListener('touchmove', touchMove);
|
|
|
+ (myDrag as any).value.removeEventListener('touchend', touchEnd);
|
|
|
});
|
|
|
return {
|
|
|
classes,
|