From c0ebcd6689ec2ad2f933faac178f972b8641d3aa Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Tue, 7 Apr 2026 11:23:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=B5=8C=E5=85=A5=E5=BC=8F):=20=E5=B5=8C?= =?UTF-8?q?=E5=85=A5=E5=BC=8F=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/flushbonading/index.js | 2 +- core/core-frontend/src/pages/panel/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/flushbonading/index.js b/core/core-frontend/flushbonading/index.js index 49a33aefb3..a4c82b14a9 100644 --- a/core/core-frontend/flushbonading/index.js +++ b/core/core-frontend/flushbonading/index.js @@ -41,7 +41,7 @@ htmlStream.pipe(parserStream).on('finish', () => { } else if (ele.nodeName === 'SCRIPT') { url = ele.src } - if (url.includes(suffix)) { + if (url.includes('0.0.0-dataease')) { prefix = new URL(url).origin const index = url.indexOf(\`/js/div_import_0.0.0-dataease\`) if (index > 0) { diff --git a/core/core-frontend/src/pages/panel/main.ts b/core/core-frontend/src/pages/panel/main.ts index ff3d53e32a..786aae2228 100644 --- a/core/core-frontend/src/pages/panel/main.ts +++ b/core/core-frontend/src/pages/panel/main.ts @@ -32,7 +32,7 @@ const getPrefix = (): string => { } else if (ele instanceof HTMLScriptElement) { url = ele.src } - if (url.includes(suffix)) { + if (url.includes('0.0.0-dataease')) { prefix = new URL(url).origin const index = url.indexOf(`/js/div_import_0.0.0-dataease`) if (index > 0) {