mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-04-26 01:10:16 +08:00
refactor: 修改开发工具打开模式为分离,优化调试体验;更新ThemeToggle组件样式;删除不再使用的IPC和Node示例代码
This commit is contained in:
@@ -71,7 +71,7 @@ async function createWindow() {
|
||||
if (VITE_DEV_SERVER_URL) { // #298
|
||||
win.loadURL(VITE_DEV_SERVER_URL)
|
||||
// Open devTool if the app is not packaged
|
||||
win.webContents.openDevTools()
|
||||
win.webContents.openDevTools({mode:'detach'})
|
||||
} else {
|
||||
win.loadFile(indexHtml)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user