Skip to content

Commit

Permalink
fix(cashier): fix passed index of default selected item to click hand…
Browse files Browse the repository at this point in the history
…ler [#181]
  • Loading branch information
xxyan0205 committed Aug 8, 2018
1 parent 57e3a9e commit 4ce4693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/cashier/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</li>
</ul>
<ul class="choose-channel-list" v-else-if="channels[defaultIndex]">
<li class="choose-channel-item default" @click="$_onChannelItemClick(channels[defaultIndex], index)">
<li class="choose-channel-item default" @click="$_onChannelItemClick(channels[defaultIndex], defaultIndex)">
<i class="item-icon" :class="channels[defaultIndex].icon">
<md-icon :name="channels[defaultIndex].icon"></md-icon>
</i>
Expand Down

0 comments on commit 4ce4693

Please sign in to comment.