system title (#526)

This commit is contained in:
Archer
2023-11-29 10:56:53 +08:00
committed by GitHub
parent abc1e576b7
commit 007fce2deb
10 changed files with 24 additions and 11 deletions

View File

@@ -92,6 +92,8 @@ const MessageInput = ({
);
} catch (error) {
setFileList((state) => state.filter((item) => item.id !== file.id));
console.log(error);
toast({
status: 'error',
title: t('common.Upload File Failed')

View File

@@ -44,7 +44,8 @@ const MyRadio = ({
}
: {
_hover: {
bg: 'white'
bg: 'myBlue.100',
borderColor: 'myBlue.600'
}
})}
_after={{

View File

@@ -11,7 +11,7 @@ import { reRankModelList } from '@/web/common/system/staticData';
import { ModuleInputKeyEnum } from '@fastgpt/global/core/module/constants';
import { DatasetSearchModeMap } from '@fastgpt/global/core/dataset/constant';
import MyRadio from '@/components/Radio';
import MyRadio from '@/components/common/MyRadio';
type DatasetParamsProps = {
similarity?: number;

View File

@@ -223,6 +223,7 @@ const VariableEdit = ({
fontWeight: 'bold'
}
: {
color: 'myGray.600',
_hover: {
boxShadow: 'md'
},

View File

@@ -1,5 +1,5 @@
import React from 'react';
import MyRadio from '@/components/Radio';
import MyRadio from '@/components/common/MyRadio';
import { PermissionTypeEnum } from '@fastgpt/global/support/permission/constant';
import { useTranslation } from 'next-i18next';