mirror of
https://github.com/labring/FastGPT.git
synced 2026-05-05 01:02:59 +08:00
fix: add maxnum of folders to env (#6628)
* fix: add maxnum of folders to env * fix: 知识库文件夹上限数量结构调整 * fix
This commit is contained in:
@@ -13,6 +13,7 @@ export enum TeamErrEnum {
|
||||
appAmountNotEnough = 'appAmountNotEnough',
|
||||
pluginAmountNotEnough = 'pluginAmountNotEnough',
|
||||
appFolderAmountNotEnough = 'appFolderAmountNotEnough',
|
||||
datasetFolderAmountNotEnough = 'datasetFolderAmountNotEnough',
|
||||
websiteSyncNotEnough = 'websiteSyncNotEnough',
|
||||
reRankNotEnough = 'reRankNotEnough',
|
||||
ticketNotAvailable = 'ticketNotAvailable',
|
||||
@@ -145,6 +146,10 @@ const teamErr = [
|
||||
{
|
||||
statusText: TeamErrEnum.tooManyInvitations,
|
||||
message: i18nT('common:code_error.team_error.too_many_invitations')
|
||||
},
|
||||
{
|
||||
statusText: TeamErrEnum.datasetFolderAmountNotEnough,
|
||||
message: i18nT('common:code_error.team_error.dataset_folder_amount_not_enough')
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user