mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
[bugfix] Popop: fix DOM destroy when use getContainer (#1665)
This commit is contained in:
@@ -83,6 +83,10 @@ export default {
|
|||||||
|
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
this.close();
|
this.close();
|
||||||
|
|
||||||
|
if (this.getContainer) {
|
||||||
|
this.$parent.$el.appendChild(this.$el);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
deactivated() {
|
deactivated() {
|
||||||
|
Reference in New Issue
Block a user