Vanessa 2022-12-31 11:57:31 +08:00
parent 4e72a15125
commit 8cc40c066a
2 changed files with 0 additions and 18 deletions

View file

@ -242,12 +242,6 @@ export const about = {
fetchPost("/api/system/setWorkspaceDir", {
path: workspace
}, () => {
const searchData = JSON.parse(localStorage.getItem(Constants.LOCAL_SEARCHEDATA) || "{}");
if (searchData.hPath) {
searchData.hPath = "";
searchData.idPath = "";
localStorage.setItem(Constants.LOCAL_SEARCHEDATA, JSON.stringify(searchData));
}
exportLayout(false, () => {
exitSiYuan();
});