Commit 944774ec by Mr-Chiang Committed by GitHub

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

parent 5b21b4b6
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment