diff --git a/src/mixin/autoResize.js b/src/mixin/autoResize.js index 2138c4e..a29f02f 100644 --- a/src/mixin/autoResize.js +++ b/src/mixin/autoResize.js @@ -29,7 +29,7 @@ export default { const { $nextTick, $refs, ref, onResize } = this return new Promise(resolve => { - $nextTick(e => { + $nextTick(_ => { const dom = this.dom = $refs[ref] this.width = dom ? dom.clientWidth : 0