Merge pull request 'fix:url地址更改;' (#360) from yangws into main

Reviewed-on: #360
This commit is contained in:
yangws 2024-10-24 14:38:02 +08:00
commit a731dff62c
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ const eventHandles = (type, win) => {
export const toLinkWeb = (path) => { export const toLinkWeb = (path) => {
const config = baseConfig() const config = baseConfig()
// console.log(config) // console.log(config)
const fullPath = ' https://localhost:7860/' + path const fullPath = config.url + path
// 通知主进程 // 通知主进程
ipcRenderer.send('openWindow', { ipcRenderer.send('openWindow', {
key: `win-${Date.now()}`, key: `win-${Date.now()}`,