[bugfix] Spelling of 'touchcancel ' (#239)

This commit is contained in:
Wis 2017-10-24 17:36:45 +08:00 committed by neverland
parent 0da517e004
commit 8c4866e6a7

View File

@ -1,11 +1,11 @@
<template> <template>
<div <div
class="van-pull-refresh" class="van-pull-refresh"
:style="style" :style="style"
@touchstart="onTouchStart" @touchstart="onTouchStart"
@touchmove="onTouchMove" @touchmove="onTouchMove"
@touchend="onTouchEnd" @touchend="onTouchEnd"
@touchcalcel="onTouchEnd" @touchcancel="onTouchEnd"
> >
<div class="van-pull-refresh__head"> <div class="van-pull-refresh__head">
<slot name="normal" v-if="status === 'normal'"></slot> <slot name="normal" v-if="status === 'normal'"></slot>
@ -22,7 +22,7 @@
</div> </div>
</slot> </slot>
</div> </div>
<slot></slot> <slot></slot>
</div> </div>
</template> </template>