@@ -731,7 +731,9 @@ export default {
}
},
beforeRouteLeave(from, to, next) {
- this.emitter.emit('updateList', this.info);
+ if (this && this.emitter) {
+ this.emitter.emit('updateList', this.info);
+ }
next();
};