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 889d18b  add search hint
889d18b is described below

commit 889d18bf59cfee42a9b80584c9cf3ba482aaf4a6
Author: nzomkxia <[email protected]>
AuthorDate: Wed Jan 16 11:05:17 2019 +0800

    add search hint
---
 dubbo-admin-frontend/src/components/Management.vue    | 2 +-
 dubbo-admin-frontend/src/components/public/Search.vue | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/dubbo-admin-frontend/src/components/Management.vue 
b/dubbo-admin-frontend/src/components/Management.vue
index a04a3f2..f80d03b 100644
--- a/dubbo-admin-frontend/src/components/Management.vue
+++ b/dubbo-admin-frontend/src/components/Management.vue
@@ -19,7 +19,7 @@
   <v-container grid-list-xl fluid >
     <v-layout row wrap>
       <v-flex xs12 >
-        <search id="serviceSearch" v-model="filter" :submit="submit" 
:label="$t('searchDubboConfig')"></search>
+        <search id="serviceSearch" v-model="filter" :submit="submit" 
:label="$t('searchDubboConfig')" :hint="$t('configNameHint')"></search>
       </v-flex>
     </v-layout>
     <v-flex lg12>
diff --git a/dubbo-admin-frontend/src/components/public/Search.vue 
b/dubbo-admin-frontend/src/components/public/Search.vue
index 6ace1e9..15e3432 100644
--- a/dubbo-admin-frontend/src/components/public/Search.vue
+++ b/dubbo-admin-frontend/src/components/public/Search.vue
@@ -21,6 +21,7 @@
       <v-layout row wrap >
         <v-text-field
           :label="label" clearable
+          :hint="hint"
           v-bind:value="value"
           v-on:input="$emit('input', $event)"></v-text-field>
         <v-btn @click="submit" color="primary" large>{{$t('search')}}</v-btn>
@@ -41,6 +42,10 @@
       label: {
         type: String,
         default: ''
+      },
+      hint: {
+        type: String,
+        default: ''
       }
     },
     data: () => ({

Reply via email to