Commit b8677c1a authored by baiyuze's avatar baiyuze

update

parent f271ece1
const path = require('path')
const { cwd } = require('../utils')
module.exports = {
lowcodeEnv: () => {
return
},
name: 'Project',
ideWinConfig: {
url: 'http://localhost:7012/paas/#/workbench'
url: 'http://localhost:7012/paas/#/workbench',
devUrl: 'http://localhost:45625'
},
startWinConfig: {
width: 636,
......
......@@ -29,7 +29,8 @@ class Main {
this.startWin = win
}
IDEPage() {
const url = this.config.ideWinConfig.url
const envKey = this.isDev ? 'devUrl' : 'url'
const url = this.config.ideWinConfig[envKey]
const win = this.createWindow(url, MAIN.WINDOW_TYPE.URL)
this.ideWin = win
}
......
......@@ -13,7 +13,6 @@ class UpdateWidgets {
complete(data) {
const ctx = getContext()
// 通知渲染引擎成功
console.log(data, 'data')
ctx.win.send(IPC.UPDATE_WIDGETS_COMPLETE, data)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment