We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 606949a commit 412660bCopy full SHA for 412660b
1 file changed
frontend/src/views/system/user/User.vue
@@ -911,7 +911,16 @@ const editHandler = (row: any) => {
911
})
912
.finally(() => {
913
state.form.system_variables = state.form.system_variables.filter((ele: any) => {
914
- return !!variableValueMap.value[ele.variableId]
+ if (variableValueMap.value[ele.variableId]) {
915
+ if (variableValueMap.value[ele.variableId].var_type === 'text') {
916
+ ele.variableValues = variableValueMap.value[ele.variableId].value.filter(
917
+ (item: any) => ele.variableValues.indexOf(item) > -1
918
+ )
919
+ return !!ele.variableValues.length
920
+ }
921
+ return true
922
923
+ return false
924
925
dialogTitle.value = row?.id ? t('user.edit_user') : t('user.add_users')
926
dialogFormVisible.value = true
0 commit comments