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/12/21 03:18:52 UTC

[incubator-dubbo-ops] branch metadata updated: display all existing services by default

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 5e5dd65  display all existing services by default
5e5dd65 is described below

commit 5e5dd65c67c9291487d01bbf7b5bd1cb13f49162
Author: nzomkxia <z8...@gmail.com>
AuthorDate: Fri Dec 21 11:18:42 2018 +0800

    display all existing services by default
---
 dubbo-admin-frontend/src/components/ServiceSearch.vue | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dubbo-admin-frontend/src/components/ServiceSearch.vue b/dubbo-admin-frontend/src/components/ServiceSearch.vue
index 1919fe5..12e2350 100644
--- a/dubbo-admin-frontend/src/components/ServiceSearch.vue
+++ b/dubbo-admin-frontend/src/components/ServiceSearch.vue
@@ -298,6 +298,12 @@
           this.selected = 1
         }
         this.search(filter, pattern, false)
+      } else {
+        //display all existing services by default
+        this.filter = '*'
+        this.selected = 0
+        pattern = 'service'
+        this.search(this.filter, pattern, true)
       }
       this.$axios.get('/service', {
         params: {