This is an automated email from the ASF dual-hosted git repository.
ranke pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-admin.git
The following commit(s) were added to refs/heads/develop by this push:
new 972c021 fix #723 (#724)
972c021 is described below
commit 972c021622f038f055b0cf6714da284fefa5529d
Author: 邪影oO <[email protected]>
AuthorDate: Wed Mar 31 14:01:30 2021 +0800
fix #723 (#724)
---
dubbo-admin-ui/src/components/apiDocs/ApiFormItem.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dubbo-admin-ui/src/components/apiDocs/ApiFormItem.vue
b/dubbo-admin-ui/src/components/apiDocs/ApiFormItem.vue
index 902a00e..5156039 100644
--- a/dubbo-admin-ui/src/components/apiDocs/ApiFormItem.vue
+++ b/dubbo-admin-ui/src/components/apiDocs/ApiFormItem.vue
@@ -220,7 +220,7 @@ export default {
var defaultValue = this.formItemInfo.get('defaultValue')
if (defaultValue) {
this.selectDefaultValue = defaultValue
- this.formValues.set(this.buildItemId(), defaultValue[0])
+ this.formValues.set(this.buildItemId(), defaultValue)
} else {
this.formValues.set(this.buildItemId(), '')
}