Merge pull request #838 from SuanmoSuanyangTechnology/feature/ui_upgrade_zy
Feature/UI upgrade zy
This commit is contained in:
@@ -33,7 +33,7 @@ interface KnowledgeConfigModalProps {
|
||||
* Available retrieval types
|
||||
*/
|
||||
const retrieveTypes: RetrieveType[] = ['participle', 'semantic', 'hybrid',
|
||||
// 'graph'
|
||||
'graph'
|
||||
]
|
||||
|
||||
/**
|
||||
|
||||
@@ -89,14 +89,6 @@ const WordCloud: FC = () => {
|
||||
|
||||
return {
|
||||
color: ['#155EEF'],
|
||||
tooltip: {
|
||||
trigger: 'item',
|
||||
formatter: (params: any) => {
|
||||
const dataIndex = params.dataIndex
|
||||
const item = radarData[dataIndex]
|
||||
return `${item.name}<br/>${item.percentage.toFixed(1)}%`
|
||||
}
|
||||
},
|
||||
radar: {
|
||||
indicator: radarData.map(item => ({
|
||||
name: t(`statementDetail.${item.name}`),
|
||||
|
||||
@@ -13,7 +13,7 @@ interface KnowledgeConfigModalProps {
|
||||
refresh: (values: KnowledgeConfigForm, type: 'knowledgeConfig') => void;
|
||||
}
|
||||
const retrieveTypes: RetrieveType[] = ['participle', 'semantic', 'hybrid',
|
||||
// 'graph'
|
||||
'graph'
|
||||
]
|
||||
|
||||
const KnowledgeConfigModal = forwardRef<KnowledgeConfigModalRef, KnowledgeConfigModalProps>(({
|
||||
|
||||
Reference in New Issue
Block a user