You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by il...@apache.org on 2018/09/12 08:13:24 UTC
[incubator-dubbo-ops] branch develop updated: add hint
This is an automated email from the ASF dual-hosted git repository.
iluo 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 a3c3691 add hint
a3c3691 is described below
commit a3c36918ebd0560739474dcd8f1e8ca15003afbe
Author: beiwei30 <ia...@gmail.com>
AuthorDate: Wed Sep 12 16:13:12 2018 +0800
add hint
---
dubbo-admin-frontend/src/components/ServiceSearch.vue | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/dubbo-admin-frontend/src/components/ServiceSearch.vue b/dubbo-admin-frontend/src/components/ServiceSearch.vue
index 4a6044e..298d6ab 100644
--- a/dubbo-admin-frontend/src/components/ServiceSearch.vue
+++ b/dubbo-admin-frontend/src/components/ServiceSearch.vue
@@ -24,7 +24,8 @@
<v-form>
<v-layout row wrap>
<v-text-field label="Search dubbo service"
- v-bind:suffix="queryBy"
+ :hint="hint"
+ :suffix="queryBy"
v-model="filter"></v-text-field>
<v-menu bottom left class="hidden-xs-only">
@@ -90,9 +91,9 @@
export default {
data: () => ({
items: [
- {title: 'service name'},
- {title: 'IP'},
- {title: 'application'}
+ {id: 0, title: 'service name'},
+ {id: 1, title: 'IP'},
+ {id: 2, title: 'application'}
],
selected: 0,
services: [],
@@ -123,6 +124,15 @@
computed: {
queryBy () {
return 'by ' + this.items[this.selected].title
+ },
+ hint () {
+ if (this.selected === 0) {
+ return 'Full qualified class name with service version, e.g. org.apache.dubbo.HelloService:1.0.0'
+ } else if (this.selected === 1) {
+ return 'Find all services provided by the target server on the specified IP address'
+ } else if (this.selected === 2) {
+ return 'Input an application name to find all services provided by one particular application.'
+ }
}
},
methods: {