You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by mi...@apache.org on 2018/11/23 06:45:36 UTC
[incubator-dubbo-ops] branch metadata updated: add label to display
method parameter
This is an automated email from the ASF dual-hosted git repository.
min pushed a commit to branch metadata
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo-ops.git
The following commit(s) were added to refs/heads/metadata by this push:
new 129660b add label to display method parameter
129660b is described below
commit 129660b3c3dcda28166dbadb36adcdee473636e9
Author: nzomkxia <z8...@gmail.com>
AuthorDate: Fri Nov 23 14:45:43 2018 +0800
add label to display method parameter
---
dubbo-admin-frontend/src/components/ServiceDetail.vue | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dubbo-admin-frontend/src/components/ServiceDetail.vue b/dubbo-admin-frontend/src/components/ServiceDetail.vue
index d87ccc5..1fefe69 100644
--- a/dubbo-admin-frontend/src/components/ServiceDetail.vue
+++ b/dubbo-admin-frontend/src/components/ServiceDetail.vue
@@ -94,7 +94,9 @@
:items="methodMetaData">
<template slot="items" slot-scope="props">
<td>{{props.item.name}}</td>
- <td>{{getParameters(props.item.parameterTypes)}}</td>
+ <td>
+ <v-chip v-for="(type, index) in props.item.parameterTypes" :key="type.id" label>{{type}}</v-chip>
+ </td>
<td>{{props.item.returnType}}</td>
</template>
</v-data-table>