Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaming743 committed Sep 9, 2020
1 parent 40f22d3 commit 2854164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mixin/autoResize.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2854164

Please sign in to comment.