feat(input-field): add isEditMode prop to InputFieldForm and update handling of variable changes

This commit is contained in:
twwu
2025-09-02 18:19:40 +08:00
parent 1522fd50df
commit 32a009654f
4 changed files with 9 additions and 4 deletions

View File

@ -258,7 +258,7 @@ const formatItem = (
required: v.required,
}
try {
if(type === VarType.object && v.json_schema) {
if (type === VarType.object && v.json_schema) {
varRes.children = {
schema: JSON.parse(v.json_schema),
}