perf: generate queue

This commit is contained in:
archer
2023-05-27 04:38:00 +08:00
parent f05b12975c
commit 741381ecb0
19 changed files with 288 additions and 265 deletions

View File

@@ -13,6 +13,7 @@ import {
import { useForm } from 'react-hook-form';
import { postKbDataFromList, putKbDataById } from '@/api/plugins/kb';
import { useToast } from '@/hooks/useToast';
import { TrainingTypeEnum } from '@/constants/plugin';
export type FormData = { dataId?: string; a: string; q: string };
@@ -59,7 +60,8 @@ const InputDataModal = ({
a: e.a,
q: e.q
}
]
],
mode: TrainingTypeEnum.index
});
toast({