We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d63dce commit 203b236Copy full SHA for 203b236
frontend/src/views/system/user/User.vue
@@ -1077,7 +1077,7 @@ const validateSystemVariables = () => {
1077
if (system_variables?.length) {
1078
return system_variables.some((ele: any) => {
1079
const obj = variableValueMap.value[ele.variableId]
1080
- if (obj.var_type !== 'number' && !ele.variableValues.length) {
+ if (obj.var_type === 'text' && !ele.variableValues.length) {
1081
ElMessage.error(t('variables.cannot_be_empty'))
1082
return true
1083
}
0 commit comments