mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
fix: ts error (#3911)
This commit is contained in:
@@ -353,7 +353,7 @@ function EditLinkModal({
|
||||
<Flex alignItems={'center'} mt={4}>
|
||||
<Flex flex={'0 0 90px'} alignItems={'center'}>
|
||||
<FormLabel>QPM</FormLabel>
|
||||
<QuestionTip ml={1} label={publishT('qpm_tips' || '')}></QuestionTip>
|
||||
<QuestionTip ml={1} label={publishT('qpm_tips')}></QuestionTip>
|
||||
</Flex>
|
||||
<Input
|
||||
max={1000}
|
||||
@@ -418,7 +418,7 @@ function EditLinkModal({
|
||||
<FormLabel>{t('common:support.outlink.share.Response Quote')}</FormLabel>
|
||||
<QuestionTip
|
||||
ml={1}
|
||||
label={t('common:support.outlink.share.Response Quote tips' || '')}
|
||||
label={t('common:support.outlink.share.Response Quote tips')}
|
||||
></QuestionTip>
|
||||
</Flex>
|
||||
<Switch {...register('responseDetail')} isChecked={responseDetail} />
|
||||
@@ -428,7 +428,7 @@ function EditLinkModal({
|
||||
<FormLabel>{t('common:support.outlink.share.show_complete_quote')}</FormLabel>
|
||||
<QuestionTip
|
||||
ml={1}
|
||||
label={t('common:support.outlink.share.show_complete_quote_tips' || '')}
|
||||
label={t('common:support.outlink.share.show_complete_quote_tips')}
|
||||
></QuestionTip>
|
||||
</Flex>
|
||||
<Switch
|
||||
|
@@ -178,7 +178,7 @@ export const useAudioPlay = (
|
||||
|
||||
await new Promise((resolve) => {
|
||||
sourceBuffer.onupdateend = resolve;
|
||||
sourceBuffer.appendBuffer(value.buffer);
|
||||
sourceBuffer.appendBuffer(value.buffer as any);
|
||||
});
|
||||
}
|
||||
} catch (error) {
|
||||
@@ -311,7 +311,7 @@ export const useAudioPlay = (
|
||||
|
||||
await new Promise((resolve) => {
|
||||
buffer.onupdateend = resolve;
|
||||
buffer.appendBuffer(value.buffer);
|
||||
buffer.appendBuffer(value.buffer as any);
|
||||
});
|
||||
}
|
||||
} catch (error) {
|
||||
|
Reference in New Issue
Block a user