From 3978b6554f3118f27e06d16bb2858300b0d72a37 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 30 Mar 2026 14:54:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=94=B9=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/flushbonading/index.js | 4 ++-- core/core-frontend/package.json | 2 +- core/core-frontend/src/pages/panel/main.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/core-frontend/flushbonading/index.js b/core/core-frontend/flushbonading/index.js index c7cfd2a2bd..49a33aefb3 100644 --- a/core/core-frontend/flushbonading/index.js +++ b/core/core-frontend/flushbonading/index.js @@ -43,7 +43,7 @@ htmlStream.pipe(parserStream).on('finish', () => { } if (url.includes(suffix)) { prefix = new URL(url).origin - const index = url.indexOf(\`/js/div_import_${suffix}\`) + const index = url.indexOf(\`/js/div_import_0.0.0-dataease\`) if (index > 0) { prefix = url.substring(0, index) } @@ -77,6 +77,6 @@ htmlStream.pipe(parserStream).on('finish', () => { }) document.documentElement.insertBefore(head, document.querySelector('body'))` - fs.writeFile(`../dist/js/div_import_${suffix}.js`, templateJs, err => { + fs.writeFile(`../dist/js/div_import_0.0.0-dataease.js`, templateJs, err => { }) }) diff --git a/core/core-frontend/package.json b/core/core-frontend/package.json index f945b5501e..55b7e135b0 100644 --- a/core/core-frontend/package.json +++ b/core/core-frontend/package.json @@ -1,7 +1,7 @@ { "name": "dataease", "private": true, - "version": "0.0.0", + "version": "2.10.20", "scripts": { "dev": "NODE_OPTIONS=--max_old_space_size=4096 vite --mode dev --host 0.0.0.0", "build:flush": "cd ./flushbonading && rimraf ./demo.html && npm i && node ./index.js", diff --git a/core/core-frontend/src/pages/panel/main.ts b/core/core-frontend/src/pages/panel/main.ts index e6ee697e97..4a40ff0ac6 100644 --- a/core/core-frontend/src/pages/panel/main.ts +++ b/core/core-frontend/src/pages/panel/main.ts @@ -37,7 +37,7 @@ const getPrefix = (): string => { } if (url.includes(suffix)) { prefix = new URL(url).origin - const index = url.indexOf(`/js/div_import_${suffix}`) + const index = url.indexOf(`/js/div_import_0.0.0-dataease`) if (index > 0) { prefix = url.substring(0, index) }