Skip to content

Commit 1958164

Browse files
committed
[fix] tab link break routes
1 parent e97f95f commit 1958164

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dist/vue-tabs.common.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,12 @@ var VueTabs = {
195195
[_this.textPosition === 'top' && _this.renderTabTitle(index, _this.textPosition), h(
196196
'a',
197197
{
198+
on: {
199+
'click': function click(event) {
200+
event.preventDefault();
201+
return false;
202+
}
203+
},
198204
attrs: { href: '#',
199205

200206
'aria-selected': active,

0 commit comments

Comments
 (0)