mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] Popop: fix DOM destroy when use getContainer (#1665)
This commit is contained in:
parent
539145d661
commit
7d8fff70af
@ -83,6 +83,10 @@ export default {
|
||||
|
||||
beforeDestroy() {
|
||||
this.close();
|
||||
|
||||
if (this.getContainer) {
|
||||
this.$parent.$el.appendChild(this.$el);
|
||||
}
|
||||
},
|
||||
|
||||
deactivated() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user