You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@skywalking.apache.org by wu...@apache.org on 2019/12/09 14:46:42 UTC

[skywalking-rocketbot-ui] branch master updated: fix topo reload (#225)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-rocketbot-ui.git


The following commit(s) were added to refs/heads/master by this push:
     new 1933b95  fix topo reload (#225)
1933b95 is described below

commit 1933b957c08946d723fb8cf94df52f78f2c7573b
Author: Kdump <ro...@gmail.com>
AuthorDate: Mon Dec 9 22:46:32 2019 +0800

    fix topo reload (#225)
---
 src/views/components/topology/topo-aside.vue | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/views/components/topology/topo-aside.vue b/src/views/components/topology/topo-aside.vue
index c36d8f7..9a0784e 100644
--- a/src/views/components/topology/topo-aside.vue
+++ b/src/views/components/topology/topo-aside.vue
@@ -214,6 +214,7 @@
     @Mutation('rocketTopo/SET_MODE_STATUS') private SET_MODE_STATUS: any;
     @Action('rocketTopo/CLEAR_TOPO_INFO') private CLEAR_TOPO_INFO: any;
     @Mutation('SET_COMPS_TREE') private SET_COMPS_TREE: any;
+    @Mutation('SET_EVENTS') private SET_EVENTS: any;
     @State('rocketDashboard') private rocketDashboard: any;
 
 
@@ -239,6 +240,7 @@
 
     private async created() {
       this.getTopo();
+      this.SET_EVENTS([]);
       this.SET_COMPS_TREE(this.initState.tree);
     }