fix #686 (#687)

diff --git a/dubbo-admin-ui/src/components/apiDocs/ApiForm.vue b/dubbo-admin-ui/src/components/apiDocs/ApiForm.vue
index 9923b25..c73ad28 100644
--- a/dubbo-admin-ui/src/components/apiDocs/ApiForm.vue
+++ b/dubbo-admin-ui/src/components/apiDocs/ApiForm.vue
@@ -376,20 +376,23 @@
         var postDataItem = {}
         postData[key.split('@@')[1]] = postDataItem
         postDataItem.paramType = key.split('@@')[0]
-        var postDataItemValue = {}
-        postDataItem.paramValue = postDataItemValue
-        value.forEach(element => {
-          var elementKeySplited = element.key.split('@@')
-          var elementName = elementKeySplited[3]
-          if (elementKeySplited[4] === 'TEXT_AREA') {
-            if (element.value !== '') {
+        if (value.length === 1) {
+          postDataItem.paramValue = value[0].value
+        } else {
+          var postDataItemValue = {}
+          postDataItem.paramValue = postDataItemValue
+          value.forEach(element => {
+            var elementKeySplited = element.key.split('@@')
+            var elementName = elementKeySplited[3]
+            if (elementKeySplited[4] === 'TEXT_AREA') {
+              if (element.value !== '') {
+                postDataItemValue[elementName] = element.value
+              }
+            } else {
               postDataItemValue[elementName] = element.value
             }
-          } else {
-            var elementValue = element.value
-            postDataItemValue[elementName] = elementValue
-          }
-        })
+          })
+        }
       })
       if (this.formItemRegistryCenterUrl === '') {
         this.formItemRegistryCenterUrl = 'dubbo://' + this.formInfo.dubboIp + ':' + this.formInfo.dubboPort
diff --git a/dubbo-admin-ui/src/components/apiDocs/ApiFormItem.vue b/dubbo-admin-ui/src/components/apiDocs/ApiFormItem.vue
index d8ede6b..45f91dc 100644
--- a/dubbo-admin-ui/src/components/apiDocs/ApiFormItem.vue
+++ b/dubbo-admin-ui/src/components/apiDocs/ApiFormItem.vue
@@ -147,11 +147,12 @@
   },
   methods: {
     buildItemId () {
-      return this.formItemInfo.get('paramType') + '@@' +
+      const result = this.formItemInfo.get('paramType') + '@@' +
       this.formItemInfo.get('paramIndex') + '@@' +
       this.formItemInfo.get('javaType') + '@@' +
       this.formItemInfo.get('name') + '@@' +
       this.formItemInfo.get('htmlType')
+      return result
     },
     requiredCheck (value) {
       if (this.formItemInfo.get('required')) {