未验证 提交 5ddfb9f6 编写于 作者: A Allen Wang 提交者: GitHub

Fix: Topology bug (#292)

Co-authored-by: wu-sheng's avatar吴晟 Wu Sheng <wu.sheng@foxmail.com>
上级 50bd0c70
......@@ -71,6 +71,16 @@ limitations under the License. -->
private created() {
this.fetchData();
const groups = localStorage.getItem('topology-groups');
if (groups) {
const jsonGroup = JSON.parse(groups);
if (!jsonGroup.length) {
this.GET_TOPO({
serviceId: 0,
duration: this.durationTime,
});
}
}
}
}
</script>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册