fix(System Variables): Verification error

This commit is contained in:
dataeaseShu
2026-03-16 16:04:39 +08:00
committed by dataeaseShu
parent 6d63dcefc5
commit 662d4a1e2b
+1 -1
View File
@@ -1077,7 +1077,7 @@ const validateSystemVariables = () => {
if (system_variables?.length) {
return system_variables.some((ele: any) => {
const obj = variableValueMap.value[ele.variableId]
if (obj.var_type !== 'number' && !ele.variableValues.length) {
if (obj.var_type === 'text' && !ele.variableValues.length) {
ElMessage.error(t('variables.​​cannot_be_empty'))
return true
}