fix: mode data

This commit is contained in:
archer
2023-04-28 15:07:38 +08:00
parent 5969f5e0c5
commit 56b3ddc147
3 changed files with 5 additions and 4 deletions

View File

@@ -39,6 +39,7 @@ const ModelDetail = ({ modelId }: { modelId: string }) => {
setLoading(true);
try {
const res = await getModelById(modelId);
console.log(res);
setModel(res);
formHooks.reset(res);
} catch (err: any) {