Merge pull request #2802 from chenfengjw163/2.0
dropdown component in fast switch display hidden times error
This commit is contained in:
commit
9044be7865
1 changed files with 4 additions and 2 deletions
|
@ -61,8 +61,10 @@
|
||||||
if (this.popper) {
|
if (this.popper) {
|
||||||
this.resetTransformOrigin(this.popper);
|
this.resetTransformOrigin(this.popper);
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
if (this.popper) {
|
||||||
this.popper.destroy();
|
this.popper.destroy();
|
||||||
this.popper = null;
|
this.popper = null;
|
||||||
|
}
|
||||||
}, 300);
|
}, 300);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue