From f4a93680cf681181b0f0b69e98904002b8fcc153 Mon Sep 17 00:00:00 2001 From: Soviby <936858871@qq.com> Date: Sun, 6 Oct 2024 13:42:54 +0800 Subject: [PATCH] =?UTF-8?q?ui=E8=BF=9C=E7=A8=8B=E7=83=AD=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/background.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/background.ts b/src/background.ts index 6b06361..382ed38 100644 --- a/src/background.ts +++ b/src/background.ts @@ -19,7 +19,8 @@ app.whenReady().then(()=>{ } else // 生产环境 { - win.loadFile('index.html') + // win.loadFile('index.html') + // 这里换成静态html后,即可实现ui热更新 + win.loadURL('http://49.235.154.178:20081/index.html') } - }) \ No newline at end of file