mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-09 02:46:52 +08:00
refactor: type improvements that doesn't modify functionality (#17970)
This commit is contained in:
@@ -78,7 +78,7 @@ export const generateFormValue = (value: Record<string, any>, formSchemas: { var
|
||||
}
|
||||
|
||||
export const getPlainValue = (value: Record<string, any>) => {
|
||||
const plainValue = { ...value } as any
|
||||
const plainValue = { ...value }
|
||||
Object.keys(plainValue).forEach((key) => {
|
||||
plainValue[key] = value[key].value
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user