You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by mj...@apache.org on 2018/11/01 08:05:54 UTC
[incubator-dubbo-ops] branch develop updated: Call the query when
parameters not null
This is an automated email from the ASF dual-hosted git repository.
mjk 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 ed35dc3 Call the query when parameters not null
ed35dc3 is described below
commit ed35dc338feba69d5e8696cb1c256cc223e9d9a4
Author: Ma.Jinkai <ma...@vip.qq.com>
AuthorDate: Thu Nov 1 16:05:38 2018 +0800
Call the query when parameters not null
---
dubbo-admin-frontend/src/components/ServiceSearch.vue | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dubbo-admin-frontend/src/components/ServiceSearch.vue b/dubbo-admin-frontend/src/components/ServiceSearch.vue
index fd8a941..8c269fc 100644
--- a/dubbo-admin-frontend/src/components/ServiceSearch.vue
+++ b/dubbo-admin-frontend/src/components/ServiceSearch.vue
@@ -153,8 +153,8 @@
},
mounted: function () {
let query = this.$route.query
- let filter = ''
- let pattern = ''
+ let filter = null
+ let pattern = null
Object.keys(query).forEach(function (key) {
if (key === 'filter') {
filter = query[key]
@@ -163,7 +163,7 @@
pattern = query[key]
}
})
- if (filter !== '' && pattern !== '') {
+ if (filter != null && pattern != null) {
this.filter = filter
if (pattern === 'serviceName') {
this.selected = 0