fix: 修复 diffEdit 异常报错 (#10862)

This commit is contained in:
liaoxuezhi 2024-09-02 23:08:08 +08:00
parent 86406eb741
commit bb399c2cfd

View File

@ -68,7 +68,7 @@ function normalizeValue(value: any, language?: string) {
} catch (e) {}
}
return value;
return value || '';
}
export class DiffEditor extends React.Component<DiffEditorProps, any> {