Skip to content

Commit

Permalink
fix: app module switch issue
Browse files Browse the repository at this point in the history
  • Loading branch information
everright committed Apr 24, 2022
1 parent 9983ad5 commit e92c515
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
1 change: 1 addition & 0 deletions src/app/electron-main/appView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export class AppViews {
this.view.webContents.closeDevTools();
this.win.removeBrowserView(this.view);
this.view = undefined;
this.mainModuleID = undefined;
}

rebuildBounds(sideWidth?: number) {
Expand Down
15 changes: 0 additions & 15 deletions src/core/market/browser/src/components/PluginList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,6 @@ const renderList = ref([]);
const router = useRouter();
const route = useRoute();
if (window && window.eo && window.eo.storage) {
console.log('get data from storageRemote');
window.eo.storage(
{
action: 'groupLoadAllByProjectID',
params: [1],
},
(data) => {
console.log(data);
}
);
} else {
console.log('no storageRemote');
}
const handleClick = ({ name }) => {
router.push({ path: '/plugin-detail', query: { name } });
};
Expand Down

0 comments on commit e92c515

Please sign in to comment.