prettier
This commit is contained in:
parent
40f22d3eae
commit
2854164452
|
@ -29,7 +29,7 @@ export default {
|
||||||
const { $nextTick, $refs, ref, onResize } = this
|
const { $nextTick, $refs, ref, onResize } = this
|
||||||
|
|
||||||
return new Promise(resolve => {
|
return new Promise(resolve => {
|
||||||
$nextTick(e => {
|
$nextTick(_ => {
|
||||||
const dom = this.dom = $refs[ref]
|
const dom = this.dom = $refs[ref]
|
||||||
|
|
||||||
this.width = dom ? dom.clientWidth : 0
|
this.width = dom ? dom.clientWidth : 0
|
||||||
|
|
Loading…
Reference in New Issue