Skip to content

Commit

Permalink
fix: 客户端无法打开excel文件
Browse files Browse the repository at this point in the history
  • Loading branch information
kuaifan committed Mar 12, 2024
1 parent 9be6cd5 commit 71c62a3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions electron/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,7 @@ function createWebTabWindow(args) {
useLoadingView: true,
useErrorView: true,
webPreferences: {
type: 'browserView',
preload: path.join(__dirname, 'electron-preload.js'),
nodeIntegrationInSubFrames: true,
}
})
if (nativeTheme.shouldUseDarkColors) {
Expand Down

0 comments on commit 71c62a3

Please sign in to comment.