Skip to content

Commit 36fbdca

Browse files
committed
fix: The validation prompt for the JSON input box is incorrect
1 parent 269c12b commit 36fbdca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/components/dynamics-form/items/JsonInput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const validate_rules = (rule: any, value: any, callback: any) => {
117117
try {
118118
JSON.parse(model_value.value)
119119
} catch (e) {
120-
callback(new Error(t('dynamicsForm.tip.requiredMessage')))
120+
callback(new Error(t('dynamicsForm.tip.jsonMessage')))
121121
return false
122122
}
123123
}

0 commit comments

Comments
 (0)