From 13722e6e95e6b30d46771ef3e5f4b63441c31df7 Mon Sep 17 00:00:00 2001 From: zhaomeijing Date: Tue, 21 Jun 2022 09:28:16 +0800 Subject: [PATCH] [update] bug --- .../components/ParameterItemCollectionList.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue index ca90fe50c..d832e8c07 100644 --- a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue +++ b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue @@ -769,7 +769,7 @@ export default { LoginUserType(val) { this.RoleType = [] if(this.currentPersonRole == '') { - this.currentPersonRole = val.length > 1 ? val[0].value : '' + this.currentPersonRole = val.length >= 1 ? val[0].value : '' } this.RoleType = val this.formInlineRoleSwitching.roleSwitchingCode = this.currentPersonRole @@ -951,6 +951,9 @@ export default { if(item.type == 'pull_more'){ item.dataValue = item.dataValue.join(',') } + if(item.type == 'text'){ + item.dataValue = item.dataValue.toString() + } }) } }