Commit bfa8ee43 by 吴云建

fix

parent 0fe3cc80
Showing with 1 additions and 1 deletions
...@@ -62,7 +62,7 @@ export default class ChatContainer extends Vue { ...@@ -62,7 +62,7 @@ export default class ChatContainer extends Vue {
@Watch("$route") routeUpdate() { @Watch("$route") routeUpdate() {
if (this.$route.fullPath !== this.orginPath) { if (this.$route.fullPath !== this.orginPath) {
this.onShow = false; this.onShow = false;
this.chatListModel.clearActiveId(); this.chatListModel && this.chatListModel.clearActiveId();
} else { } else {
this.onShow = true this.onShow = true
} }
......
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 sign in to comment