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

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

commit d0c4e11e4422d7bc1ff6a5e29057f3ea566fe04a
Author: x22x22 <[email protected]>
AuthorDate: Sun Feb 9 19:04:27 2020 +0800

    fix Topology ui Service SLA show error
    
    see https://github.com/apache/skywalking/issues/4273
---
 src/views/components/topology/topo-chart.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/views/components/topology/topo-chart.vue 
b/src/views/components/topology/topo-chart.vue
index fbcf8ee..ad08f9b 100644
--- a/src/views/components/topology/topo-chart.vue
+++ b/src/views/components/topology/topo-chart.vue
@@ -12,7 +12,7 @@ specific language governing permissions and * limitations 
under the License. */
 <template>
   <div>
     <div class="grey sm mb-5">{{ title }}</div>
-    <h5 class="mt-0 mb-0">{{ content.toFixed(2) }} {{ unit }}</h5>
+    <h5 class="mt-0 mb-0">{{ unit === '%' ? content.toFixed(2) * 100 : 
content.toFixed(2)  }} {{ unit }}</h5>
     <RkEcharts height="80px" :option="responseConfig" />
   </div>
 </template>

Reply via email to