fix $el null bug (#823)

This commit is contained in:
baiyaaaaa
2016-11-04 17:07:49 +08:00
committed by cinwell.li
parent aa27888a58
commit 9f945ad782

View File

@@ -34,7 +34,9 @@
},
destroyed() {
this.$el.remove();
if (this.$el) {
this.$el.remove();
}
},
watch: {