Commit 9f945ad7 authored by baiyaaaaa's avatar baiyaaaaa Committed by cinwell.li

fix $el null bug (#823)

parent aa27888a
...@@ -34,7 +34,9 @@ ...@@ -34,7 +34,9 @@
}, },
destroyed() { destroyed() {
this.$el.remove(); if (this.$el) {
this.$el.remove();
}
}, },
watch: { watch: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment