Skip to content

Commit

Permalink
fix: fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kakachake committed Oct 20, 2022
1 parent 3b7d0be commit c9ad20c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/main/electron.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ function createWindow() {
height: 800,

webPreferences: {
devTools: isDev(),
// devTools: isDev(),
devTools: true,
nodeIntegration: true,
contextIsolation: false,
},
Expand Down
2 changes: 1 addition & 1 deletion app/renderer/pages/resume/ResumeContent/ResumeContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const ResumeContent: FC = () => {
title={'简历制作平台'}
resume={resume}
resumeToolbarKeys={resumeToolbarKeys}
src={'http://192.168.0.4:3030/bundle.js' || ''}
src={template?.url || 'http://192.168.0.4:3030/bundle.js'}
/>
</ReScrollBox>
);
Expand Down

0 comments on commit c9ad20c

Please sign in to comment.