Merge branch 'develop' of https://github.com/panxiaojun233/incubator-dubbo-admin into panxiaojun233-develop
diff --git a/dubbo-admin-ui/src/components/public/Footers.vue b/dubbo-admin-ui/src/components/public/Footers.vue
index 331bea7..64f4e73 100644
--- a/dubbo-admin-ui/src/components/public/Footers.vue
+++ b/dubbo-admin-ui/src/components/public/Footers.vue
@@ -18,7 +18,7 @@
<template>
<v-footer inset height="auto" class="pa-3 footer-border-top">
<v-spacer></v-spacer>
- <span class="caption mr-1"><strong>Copyright</strong> ©{{ new Date().getFullYear() }} <strong>The Apache Software Foundation.</strong></span>
+ <span class="caption mr-1"><strong>Copyright</strong> ©2018-2019 <strong>The Apache Software Foundation.</strong></span>
</v-footer>
</template>
<script>
diff --git a/dubbo-admin-ui/src/components/test/TestMethod.vue b/dubbo-admin-ui/src/components/test/TestMethod.vue
index b307ecb..c5da6aa 100644
--- a/dubbo-admin-ui/src/components/test/TestMethod.vue
+++ b/dubbo-admin-ui/src/components/test/TestMethod.vue
@@ -128,7 +128,11 @@
if (method) {
const [methodName, parametersTypes] = method.split('~')
this.method.name = methodName
- this.method.parameterTypes = parametersTypes.split(';')
+ if (parametersTypes) {
+ this.method.parameterTypes = parametersTypes.split(';')
+ } else { // if parametersTypes === "", "".split(";") will produce [""], which is wrong
+ this.method.parameterTypes = []
+ }
}
let url = '/test/method?' + 'application=' + this.application +