Skip to content

Commit b2717bc

Browse files
sendyatangjinzhou
authored andcommitted
fix: tabs trigger nextClick event (#1489)
1 parent 82ea4bb commit b2717bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/vc-tabs/src/ScrollableTabBarNode.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@ export default {
260260
this.setOffset(offset + navWrapNodeWH);
261261
},
262262

263-
nextClick() {
264-
// this.__emit('nextClick', e)
263+
nextClick(e) {
264+
this.__emit('nextClick', e);
265265
const navWrapNode = this.$props.getRef('navWrap');
266266
const navWrapNodeWH = this.getOffsetWH(navWrapNode);
267267
const { offset } = this;

0 commit comments

Comments
 (0)