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/01 08:20:46 UTC
[incubator-dubbo-ops] branch develop updated: display all item when
search null
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 9ab1ad0 display all item when search null
9ab1ad0 is described below
commit 9ab1ad0192606dc933a55b05f6ce97f25c0ecbd9
Author: nzomkxia <z8...@gmail.com>
AuthorDate: Thu Nov 1 16:20:36 2018 +0800
display all item when search null
---
dubbo-admin-frontend/src/components/governance/LoadBalance.vue | 4 ++--
dubbo-admin-frontend/src/components/governance/Overrides.vue | 4 ++--
dubbo-admin-frontend/src/components/governance/RoutingRule.vue | 4 ++--
dubbo-admin-frontend/src/components/governance/WeightAdjust.vue | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/dubbo-admin-frontend/src/components/governance/LoadBalance.vue b/dubbo-admin-frontend/src/components/governance/LoadBalance.vue
index 868cb71..19e7903 100644
--- a/dubbo-admin-frontend/src/components/governance/LoadBalance.vue
+++ b/dubbo-admin-frontend/src/components/governance/LoadBalance.vue
@@ -265,13 +265,13 @@
mounted: function () {
this.ruleText = this.template
let query = this.$route.query
- let service = ''
+ let service = null
Object.keys(query).forEach(function (key) {
if (key === 'service') {
service = query[key]
}
})
- if (service !== '') {
+ if (service !== null) {
this.filter = service
this.search(service, false)
}
diff --git a/dubbo-admin-frontend/src/components/governance/Overrides.vue b/dubbo-admin-frontend/src/components/governance/Overrides.vue
index c621840..85edab1 100644
--- a/dubbo-admin-frontend/src/components/governance/Overrides.vue
+++ b/dubbo-admin-frontend/src/components/governance/Overrides.vue
@@ -286,13 +286,13 @@
mounted: function () {
this.ruleText = this.template
let query = this.$route.query
- let service = ''
+ let service = null
Object.keys(query).forEach(function (key) {
if (key === 'service') {
service = query[key]
}
})
- if (service !== '') {
+ if (service !== null) {
this.filter = service
this.search(service, false)
}
diff --git a/dubbo-admin-frontend/src/components/governance/RoutingRule.vue b/dubbo-admin-frontend/src/components/governance/RoutingRule.vue
index c4b7ba1..fa9455b 100644
--- a/dubbo-admin-frontend/src/components/governance/RoutingRule.vue
+++ b/dubbo-admin-frontend/src/components/governance/RoutingRule.vue
@@ -323,13 +323,13 @@
mounted: function () {
this.ruleText = this.template
let query = this.$route.query
- let service = ''
+ let service = null
Object.keys(query).forEach(function (key) {
if (key === 'service') {
service = query[key]
}
})
- if (service !== '') {
+ if (service !== null) {
this.filter = service
this.search(service, false)
}
diff --git a/dubbo-admin-frontend/src/components/governance/WeightAdjust.vue b/dubbo-admin-frontend/src/components/governance/WeightAdjust.vue
index 46d8056..aefeae2 100644
--- a/dubbo-admin-frontend/src/components/governance/WeightAdjust.vue
+++ b/dubbo-admin-frontend/src/components/governance/WeightAdjust.vue
@@ -264,13 +264,13 @@
mounted: function () {
this.ruleText = this.template
let query = this.$route.query
- let service = ''
+ let service = null
Object.keys(query).forEach(function (key) {
if (key === 'service') {
service = query[key]
}
})
- if (service !== '') {
+ if (service !== null) {
this.filter = service
this.search(service, false)
}