fix: tabs trigger nextClick event (#1489)
parent
82ea4bbb82
commit
b2717bccda
|
@ -260,8 +260,8 @@ export default {
|
||||||
this.setOffset(offset + navWrapNodeWH);
|
this.setOffset(offset + navWrapNodeWH);
|
||||||
},
|
},
|
||||||
|
|
||||||
nextClick() {
|
nextClick(e) {
|
||||||
// this.__emit('nextClick', e)
|
this.__emit('nextClick', e);
|
||||||
const navWrapNode = this.$props.getRef('navWrap');
|
const navWrapNode = this.$props.getRef('navWrap');
|
||||||
const navWrapNodeWH = this.getOffsetWH(navWrapNode);
|
const navWrapNodeWH = this.getOffsetWH(navWrapNode);
|
||||||
const { offset } = this;
|
const { offset } = this;
|
||||||
|
|
Loading…
Reference in New Issue