mirror of https://github.com/ElemeFE/element
fix $el null bug (#823)
parent
aa27888a58
commit
9f945ad782
|
@ -34,7 +34,9 @@
|
|||
},
|
||||
|
||||
destroyed() {
|
||||
this.$el.remove();
|
||||
if (this.$el) {
|
||||
this.$el.remove();
|
||||
}
|
||||
},
|
||||
|
||||
watch: {
|
||||
|
|
Loading…
Reference in New Issue