[update] bug

This commit is contained in:
zhaomeijing
2022-06-21 09:28:16 +08:00
parent 68fadab0f5
commit 13722e6e95
@@ -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()
}
})
}
}