Fix some issue (#124)
* fix topo instance label
* Update README.md
* Update topo.vue
diff --git a/README.md b/README.md
index 52a2632..24e1f54 100644
--- a/README.md
+++ b/README.md
@@ -33,7 +33,7 @@
npm run serve
```
-The default UI address is `http://localhost:8080`. Default username/password is `admin/admin`.
+The default UI address is `http://localhost:8080`.
## Contributing to SkyWalking RocketBot
diff --git a/src/views/components/topology/topo.vue b/src/views/components/topology/topo.vue
index d1b828f..b067132 100644
--- a/src/views/components/topology/topo.vue
+++ b/src/views/components/topology/topo.vue
@@ -253,8 +253,7 @@
.attr('text-anchor', 'middle')
.attr('x', 22)
.attr('y', 70)
- .text(d => d.name.length >= 12 ? `${d.name.substring(0,12)}...`: d.name)
-
+ .text(d => d.name.length > 12 ? `${d.name.substring(0,12)}...`: d.name)
this.glink = this.graph.append('g').selectAll('.link');
this.link = this.glink.data(this.datas.calls).enter();
this.line = this.link.append('path').attr('class', 'link')