mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: The validation prompt for the JSON input box is incorrect (#3954)
This commit is contained in:
parent
269c12b737
commit
e23d413f97
|
|
@ -117,7 +117,7 @@ const validate_rules = (rule: any, value: any, callback: any) => {
|
|||
try {
|
||||
JSON.parse(model_value.value)
|
||||
} catch (e) {
|
||||
callback(new Error(t('dynamicsForm.tip.requiredMessage')))
|
||||
callback(new Error(t('dynamicsForm.tip.jsonMessage')))
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue