mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
[Improvement] Cell: optimize left icon (#893)
This commit is contained in:
@@ -90,7 +90,7 @@ export default {
|
||||
if (this.lockScroll) {
|
||||
if (!context.lockCount) {
|
||||
document.body.classList.add('van-overflow-hidden');
|
||||
on(document, 'touchstart', this.onTouchStart);
|
||||
on(document, 'touchstart', this.touchStart);
|
||||
on(document, 'touchmove', this.onTouchMove);
|
||||
}
|
||||
context.lockCount++;
|
||||
@@ -125,10 +125,6 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
onTouchStart(e) {
|
||||
this.touchStart(e);
|
||||
},
|
||||
|
||||
onTouchMove(e) {
|
||||
this.touchMove(e);
|
||||
const direction = this.deltaY > 0 ? '10' : '01';
|
||||
|
Reference in New Issue
Block a user