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

Commit

Permalink
fix: #71
Browse files Browse the repository at this point in the history
  • Loading branch information
psaren committed Nov 2, 2020
1 parent 9085af9 commit ce7c595
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/taro-ui-vue/src/components/steps/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default {
methods: {
classNames,
handleClick(event) {
this.onClick && this.onClick(event)
this.onChange && this.onChange(event)
},
},
}
2 changes: 1 addition & 1 deletion packages/taro-ui-vue/src/components/steps/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
'at-steps__item--inactive': index !== current,
})
"
@click="handleClick"
@tap="handleClick(index)"
>
<view class="at-steps__circular-wrap">
<view v-if="index !== 0" class="at-steps__left-line" />
Expand Down

0 comments on commit ce7c595

Please sign in to comment.