fix: submit form data error

This commit is contained in:
jialin
2025-04-01 22:53:25 +08:00
parent 5cbb5e7d40
commit 3fa19cf977
9 changed files with 40 additions and 67 deletions
@@ -309,12 +309,6 @@ const HFModelFile: React.FC<HFModelFileProps> = forwardRef((props, ref) => {
handleSelectModelFile(sortList[0]);
setDataSource({ fileList: sortList, loading: false });
// if (timer.current) {
// clearTimeout(timer.current);
// }
// timer.current = setTimeout(() => {
// handleEvaluate(sortList);
// }, 200);
handleEvaluate(sortList);
} catch (error) {
setDataSource({ fileList: [], loading: false });