Commit b31dd8facd781af4f2afa14654eb0eab2c4c9768

Authored by 梁灏
2 parents 3288b530 9044be78

Merge branch '2.0' of https://github.com/iview/iview into 2.0

Showing 1 changed file with 4 additions and 2 deletions   Show diff stats
src/components/select/dropdown.vue
@@ -61,8 +61,10 @@ @@ -61,8 +61,10 @@
61 if (this.popper) { 61 if (this.popper) {
62 this.resetTransformOrigin(this.popper); 62 this.resetTransformOrigin(this.popper);
63 setTimeout(() => { 63 setTimeout(() => {
64 - this.popper.destroy();  
65 - this.popper = null; 64 + if (this.popper) {
  65 + this.popper.destroy();
  66 + this.popper = null;
  67 + }
66 }, 300); 68 }, 300);
67 } 69 }
68 }, 70 },