mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 08:00:34 +00:00
[bugfix] Popup: get-container error when destoryed (#2679)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user