Skip to content

Commit

Permalink
Tabbar: Fix preventDefault
Browse files Browse the repository at this point in the history
  • Loading branch information
airyland committed Apr 23, 2016
1 parent c126ea9 commit e899853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/tabbar/tabbar-item.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<a class="weui_tabbar_item" :class="{'weui_bar_item_on': selected}" @click.preventDefault="onClick">
<a href="javascript:;" class="weui_tabbar_item" :class="{'weui_bar_item_on': selected}" @click="onClick">
<div class="weui_tabbar_icon">
<slot name="icon"></slot>
</div>
Expand Down

0 comments on commit e899853

Please sign in to comment.