mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] Popup: get-container error when destoryed (#2679)
This commit is contained in:
parent
583f89f09d
commit
d20b7fdcbf
@ -82,7 +82,7 @@ export default {
|
||||
beforeDestroy() {
|
||||
this.close();
|
||||
|
||||
if (this.getContainer) {
|
||||
if (this.getContainer && this.$parent && this.$parent.$el) {
|
||||
this.$parent.$el.appendChild(this.$el);
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user