From c108c7851e9f60b2a0cfe8755645a3eab429c665 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 23 May 2025 11:47:59 +0800 Subject: [PATCH 1/2] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=20console.lo?= =?UTF-8?q?g=20=E8=AF=AD=E5=8F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BootstrapBlazor.UniverSheet/wwwroot/univer.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/BootstrapBlazor.UniverSheet/wwwroot/univer.js b/src/components/BootstrapBlazor.UniverSheet/wwwroot/univer.js index d950d9ed..c624536a 100644 --- a/src/components/BootstrapBlazor.UniverSheet/wwwroot/univer.js +++ b/src/components/BootstrapBlazor.UniverSheet/wwwroot/univer.js @@ -2,7 +2,6 @@ import DataService from './data-service.js' const loadAssets = async lang => { - console.log(lang, 'lang'); await addScript('./_content/BootstrapBlazor.UniverSheet/univer/react.production.min.js'); await addScript('./_content/BootstrapBlazor.UniverSheet/univer/react-dom.production.min.js'); await addScript('./_content/BootstrapBlazor.UniverSheet/univer/rxjs.umd.min.js'); @@ -12,7 +11,7 @@ const loadAssets = async lang => { await addScript('./_content/BootstrapBlazor.UniverSheet/univer/univerjs.sheets-zen-editor/index.umd.min.js'); await addScript('./_content/BootstrapBlazor.UniverSheet/univer/univerjs.preset-sheets-data-validation/index.umd.min.js'); await addScript('./_content/BootstrapBlazor.UniverSheet/univer/univerjs.preset-sheets-advanced/index.umd.min.js'); - + await addScript(`./_content/BootstrapBlazor.UniverSheet/univer/univerjs.preset-sheets-core/locales/${lang}.js`); await addScript(`./_content/BootstrapBlazor.UniverSheet/univer/univerjs.preset-sheets-drawing/locales/${lang}.js`); await addScript(`./_content/BootstrapBlazor.UniverSheet/univer/univerjs.sheets-zen-editor/locales/${lang}.js`); @@ -25,7 +24,7 @@ const loadAssets = async lang => { export async function createUniverSheetAsync(sheet) { sheet.lang = sheet.lang ?? 'en-US'; await loadAssets(sheet.lang); - + const { el } = sheet; const { LocaleType, merge } = UniverCore; const { createUniver } = UniverPresets; From fd24a005d8886a281c9dbb3d4c1e93a64268c75c Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 23 May 2025 11:49:26 +0800 Subject: [PATCH 2/2] chore: bump version 9.0.5 --- .../BootstrapBlazor.UniverSheet.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/BootstrapBlazor.UniverSheet/BootstrapBlazor.UniverSheet.csproj b/src/components/BootstrapBlazor.UniverSheet/BootstrapBlazor.UniverSheet.csproj index 4a5f3bd2..d079266c 100644 --- a/src/components/BootstrapBlazor.UniverSheet/BootstrapBlazor.UniverSheet.csproj +++ b/src/components/BootstrapBlazor.UniverSheet/BootstrapBlazor.UniverSheet.csproj @@ -1,7 +1,7 @@  - 9.0.4 + 9.0.5