fix $el null bug (#823)

pull/828/head
baiyaaaaa 2016-11-04 17:07:49 +08:00 committed by cinwell.li
parent aa27888a58
commit 9f945ad782
1 changed files with 3 additions and 1 deletions

View File

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