Skip to content

Commit 203b236

Browse files
committed
fix(System Variables): Verification error
1 parent 6d63dce commit 203b236

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/views/system/user/User.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,7 @@ const validateSystemVariables = () => {
10771077
if (system_variables?.length) {
10781078
return system_variables.some((ele: any) => {
10791079
const obj = variableValueMap.value[ele.variableId]
1080-
if (obj.var_type !== 'number' && !ele.variableValues.length) {
1080+
if (obj.var_type === 'text' && !ele.variableValues.length) {
10811081
ElMessage.error(t('variables.​​cannot_be_empty'))
10821082
return true
10831083
}

0 commit comments

Comments
 (0)