Update dropdown.vue

This commit is contained in:
陈峰 2018-01-12 09:51:33 +08:00 committed by GitHub
parent 3537176f98
commit e845e84d3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,8 +61,10 @@
if (this.popper) {
this.resetTransformOrigin(this.popper);
setTimeout(() => {
this.popper.destroy();
this.popper = null;
if (this.popper) {
this.popper.destroy();
this.popper = null;
}
}, 300);
}
},