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

min pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo-ops.git


The following commit(s) were added to refs/heads/develop by this push:
     new 1237136  bugfix: i18n display. Fixes #301 (#302)
1237136 is described below

commit 1237136d55bdc0aa4c8450412bead9efc1dbd536
Author: kezhenxu94 <[email protected]>
AuthorDate: Thu Feb 14 16:31:59 2019 +0800

    bugfix: i18n display. Fixes #301 (#302)
---
 dubbo-admin-ui/src/components/ServiceDetail.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dubbo-admin-ui/src/components/ServiceDetail.vue 
b/dubbo-admin-ui/src/components/ServiceDetail.vue
index 94d7ff6..ad8ebef 100644
--- a/dubbo-admin-ui/src/components/ServiceDetail.vue
+++ b/dubbo-admin-ui/src/components/ServiceDetail.vue
@@ -28,7 +28,7 @@
           hide-actions
           hide-headers >
           <template slot="items" slot-scope="props">
-            <td>{{props.item.name}} </td>
+            <td>{{$t(props.item.name)}} </td>
             <td>{{props.item.value}}</td>
           </template>
         </v-data-table>
@@ -265,7 +265,7 @@
         Object.keys(meta).forEach(function (key) {
           let item = {}
           item.value = meta[key]
-          item.name = vm.$t(key)
+          item.name = key
           vm.basic.push(item)
         })
       }

Reply via email to