|
|
@@ -1551,6 +1551,10 @@ function _Chat() {
|
|
|
return item.label;
|
|
|
}
|
|
|
|
|
|
+ const getDesc = (value: string) => {
|
|
|
+ return appList.find(item => item.value === value)?.desc;
|
|
|
+ }
|
|
|
+
|
|
|
return (
|
|
|
<div className={styles.chat} key={session.id}>
|
|
|
<div className="window-header" data-tauri-drag-region>
|
|
|
@@ -1891,7 +1895,7 @@ function _Chat() {
|
|
|
您好,欢迎使用建科·小智使用知识库创建的{getAppName()}
|
|
|
</p> */}
|
|
|
<p style={{ textAlign: 'center' }}>
|
|
|
- {appValue ? appList.find(item => item.value)?.desc : ''}
|
|
|
+ {appValue ? getDesc(appValue) : ''}
|
|
|
</p>
|
|
|
<p>我猜您可能想问:</p>
|
|
|
{
|