mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
fix $el null bug (#823)
This commit is contained in:
@@ -34,7 +34,9 @@
|
||||
},
|
||||
|
||||
destroyed() {
|
||||
this.$el.remove();
|
||||
if (this.$el) {
|
||||
this.$el.remove();
|
||||
}
|
||||
},
|
||||
|
||||
watch: {
|
||||
|
||||
Reference in New Issue
Block a user