Update:同知识库搜索问题 (#4405)

This commit is contained in:
Mr-Chiang
2025-03-31 13:34:07 +08:00
committed by GitHub
parent 5b21b4b674
commit 944774ec5f

View File

@@ -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,