From 02e0f98032550b51f6711ca89c2ca57a46fed894 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=8D=8E=E6=98=A5?= Date: Tue, 17 Sep 2024 21:16:34 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E2=99=BB=EF=B8=8F=20=20=E9=87=8D?= =?UTF-8?q?=E6=9E=84devtools?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/designer/src/framework/devtools.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/designer/src/framework/devtools.ts b/packages/designer/src/framework/devtools.ts index a28540c9b..724a187e1 100644 --- a/packages/designer/src/framework/devtools.ts +++ b/packages/designer/src/framework/devtools.ts @@ -34,8 +34,8 @@ export class DevTools { private async loadScripts(window: Window, onload: () => void) { const project = this.engine?.project.value; const { __BASE_PATH__ = '/' } = project || {}; - // const host = ''; - const host = 'http://localhost:9527'; + const host = ''; + // const host = 'http://localhost:9527'; const now = Date.now(); const devtoolsPath = `${host}${__BASE_PATH__}${VUE_DEVTOOLS_PATH}?t=${now}`; if (this.enabled === undefined) {