Skip to content
This repository was archived by the owner on Oct 27, 2021. It is now read-only.

Commit 1da9715

Browse files
committed
fix: #71
1 parent fe09dce commit 1da9715

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/taro-ui-vue/src/components/steps/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default {
2727
methods: {
2828
classNames,
2929
handleClick(event) {
30-
this.onClick && this.onClick(event)
30+
this.onChange && this.onChange(event)
3131
},
3232
},
3333
}

packages/taro-ui-vue/src/components/steps/index.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
'at-steps__item--inactive': index !== current,
1111
})
1212
"
13-
@click="handleClick"
13+
@tap="handleClick(index)"
1414
>
1515
<view class="at-steps__circular-wrap">
1616
<view v-if="index !== 0" class="at-steps__left-line" />

0 commit comments

Comments
 (0)