From e5a8a4709fa03f9f67fc56cb6422c6216a8379f7 Mon Sep 17 00:00:00 2001 From: eiinu Date: Mon, 8 Apr 2024 10:08:00 +0800 Subject: [PATCH] chore: update type --- src/packages/__VUE/countup/index.vue | 2 +- src/packages/__VUE/numberkeyboard/index.taro.vue | 8 ++++---- src/packages/__VUE/numberkeyboard/index.vue | 10 +++++----- src/packages/__VUE/range/index.taro.vue | 8 ++++---- src/packages/__VUE/range/index.vue | 8 ++++---- src/packages/__VUE/tabs/index.vue | 2 +- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/packages/__VUE/countup/index.vue b/src/packages/__VUE/countup/index.vue index 6d8812c952..26ebb744a8 100644 --- a/src/packages/__VUE/countup/index.vue +++ b/src/packages/__VUE/countup/index.vue @@ -68,7 +68,7 @@ > @@ -56,8 +56,8 @@
@@ -57,14 +57,14 @@ aria-orientation="horizontal" :catch-move="true" @touchstart=" - (e) => { + (e: TouchEvent) => { onTouchStart(e) } " @touchmove="onTouchMove" @touchend="onTouchEnd" @touchcancel="onTouchEnd" - @click="(e) => e.stopPropagation()" + @click="(e: Event) => e.stopPropagation()" > diff --git a/src/packages/__VUE/range/index.vue b/src/packages/__VUE/range/index.vue index 2b7bd85837..5dfda0060c 100644 --- a/src/packages/__VUE/range/index.vue +++ b/src/packages/__VUE/range/index.vue @@ -24,7 +24,7 @@ :aria-valuemax="+max" aria-orientation="horizontal" @touchstart.stop.prevent=" - (e) => { + (e: TouchEvent) => { if (typeof index === 'number') { // 实时更新当前拖动的按钮索引 buttonIndex = index @@ -35,7 +35,7 @@ @touchmove.stop.prevent="onTouchMove" @touchend.stop.prevent="onTouchEnd" @touchcancel.stop.prevent="onTouchEnd" - @click="(e) => e.stopPropagation()" + @click="(e: Event) => e.stopPropagation()" > @@ -53,14 +53,14 @@ :aria-valuemax="+max" aria-orientation="horizontal" @touchstart.stop.prevent=" - (e) => { + (e: TouchEvent) => { onTouchStart(e) } " @touchmove.stop.prevent="onTouchMove" @touchend.stop.prevent="onTouchEnd" @touchcancel.stop.prevent="onTouchEnd" - @click="(e) => e.stopPropagation()" + @click="(e: Event) => e.stopPropagation()" > diff --git a/src/packages/__VUE/tabs/index.vue b/src/packages/__VUE/tabs/index.vue index f2f194098f..942863de05 100644 --- a/src/packages/__VUE/tabs/index.vue +++ b/src/packages/__VUE/tabs/index.vue @@ -49,7 +49,7 @@