|
|
@ -511,7 +511,7 @@ export function useViewData( |
|
|
|
order: (fieldById[c.id] && fieldById[c.id].order) || order++, |
|
|
|
order: (fieldById[c.id] && fieldById[c.id].order) || order++, |
|
|
|
id: fieldById[c.id] && fieldById[c.id].id, |
|
|
|
id: fieldById[c.id] && fieldById[c.id].id, |
|
|
|
})) |
|
|
|
})) |
|
|
|
.sort((a: Record<string, any>, b: Record<string, any>) => a.order - b.order) as Record<string, any> |
|
|
|
.sort((a: Record<string, any>, b: Record<string, any>) => a.order - b.order) as Record<string, any>[] |
|
|
|
} catch (e: any) { |
|
|
|
} catch (e: any) { |
|
|
|
return message.error(`${t('msg.error.setFormDataFailed')}: ${await extractSdkResponseErrorMsg(e)}`) |
|
|
|
return message.error(`${t('msg.error.setFormDataFailed')}: ${await extractSdkResponseErrorMsg(e)}`) |
|
|
|
} |
|
|
|
} |
|
|
|