mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-17 16:45:02 +00:00
I18n Translations (#2267)
* rebase * i18n-1 * add error info i18n * fix * fix * refactor: 删除error.json * delete useI18n
This commit is contained in:
@@ -85,7 +85,7 @@ export function useScrollPagination<
|
||||
}
|
||||
} catch (error: any) {
|
||||
toast({
|
||||
title: getErrText(error, '获取数据异常'),
|
||||
title: getErrText(error, t('common:core.chat.error.data_error')),
|
||||
status: 'error'
|
||||
});
|
||||
console.log(error);
|
||||
|
Reference in New Issue
Block a user