mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-21 11:43:56 +00:00
Update:同知识库搜索问题 (#4405)
This commit is contained in:
@@ -50,7 +50,7 @@ const ListItem = () => {
|
||||
content: t('app:move.hint')
|
||||
});
|
||||
|
||||
const { myApps, loadMyApps, onUpdateApp, setMoveAppId, folderDetail } = useContextSelector(
|
||||
const { myApps, loadMyApps, onUpdateApp, setMoveAppId, folderDetail, setSearchKey } = useContextSelector(
|
||||
AppListContext,
|
||||
(v) => v
|
||||
);
|
||||
@@ -177,6 +177,7 @@ const ListItem = () => {
|
||||
}}
|
||||
onClick={() => {
|
||||
if (AppFolderTypeList.includes(app.type)) {
|
||||
setSearchKey('');
|
||||
router.push({
|
||||
query: {
|
||||
...router.query,
|
||||
|
Reference in New Issue
Block a user