feat: phone slider

This commit is contained in:
archer
2023-07-26 11:59:12 +08:00
parent 248be38939
commit ffdef41bf2
24 changed files with 275 additions and 166 deletions

View File

@@ -39,7 +39,7 @@ const CsvImport = ({ kbId }: { kbId: string }) => {
);
const emptyFiles = useMemo(() => files.length === 0, [files]);
const { openConfirm, ConfirmChild } = useConfirm({
const { openConfirm, ConfirmModal } = useConfirm({
content: `该任务无法终止,需要一定时间生成索引,请确认导入。如果余额不足,未完成的任务会被暂停,充值后可继续进行。`
});
@@ -234,7 +234,7 @@ const CsvImport = ({ kbId }: { kbId: string }) => {
</Box>
</Box>
)}
<ConfirmChild />
<ConfirmModal />
</Box>
);
};