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 2019/03/14 03:38:14 UTC

[incubator-dubbo-admin] branch develop updated: fix #334

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-admin.git


The following commit(s) were added to refs/heads/develop by this push:
     new 926fd9e  fix #334
926fd9e is described below

commit 926fd9e8d737809b0671f141e44d7f6762aec7bd
Author: nzomkxia <z8...@gmail.com>
AuthorDate: Thu Mar 14 11:38:03 2019 +0800

    fix #334
---
 dubbo-admin-ui/src/components/test/TestMethod.vue | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/dubbo-admin-ui/src/components/test/TestMethod.vue b/dubbo-admin-ui/src/components/test/TestMethod.vue
index 116d807..b307ecb 100644
--- a/dubbo-admin-ui/src/components/test/TestMethod.vue
+++ b/dubbo-admin-ui/src/components/test/TestMethod.vue
@@ -131,16 +131,13 @@
         this.method.parameterTypes = parametersTypes.split(';')
       }
 
-      this.$axios.get('/test/method', {
-        params: {
-          application: this.application,
-          service: this.service,
-          method: method
-        }
-      }).then(response => {
-        this.method.json = response.data.parameterTypes
-        this.method.jsonTypes = response.data.parameterTypes
-      })
+      let url = '/test/method?' + 'application=' + this.application +
+                '&service=' + this.service + '&method=' + method
+      this.$axios.get(encodeURI(url))
+        .then(response => {
+          this.method.json = response.data.parameterTypes
+          this.method.jsonTypes = response.data.parameterTypes
+        })
     }
   }
 </script>