skywalking-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wush...@apache.org
Subject [skywalking-rocketbot-ui] branch master updated: fix Topology ui Service SLA show error (#252)
Date Mon, 10 Feb 2020 01:43:48 GMT
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 2cb2305  fix Topology ui Service SLA show error (#252)
2cb2305 is described below

commit 2cb2305af5b2a787fbf877fd0f0092a960b956c2
Author: Kdump <rootshellexp@gmail.com>
AuthorDate: Mon Feb 10 09:43:39 2020 +0800

    fix Topology ui Service SLA show error (#252)
    
    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>


Mime
View raw message