update dist and lib

This commit is contained in:
jiaming743
2020-09-09 17:20:28 +08:00
parent fdd1117e00
commit ebf1354be5
12 changed files with 956 additions and 213 deletions

View File

@ -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