Skip to content

Commit 312197b

Browse files
authored
feat(UniverSheet): remove console log (#444)
* refactor: 移除 console.log 语句 * chore: bump version 9.0.5
1 parent c6cc5b4 commit 312197b

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/components/BootstrapBlazor.UniverSheet/BootstrapBlazor.UniverSheet.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
4-
<Version>9.0.4</Version>
4+
<Version>9.0.5</Version>
55
</PropertyGroup>
66

77
<PropertyGroup>

src/components/BootstrapBlazor.UniverSheet/wwwroot/univer.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import DataService from './data-service.js'
33

44
const loadAssets = async lang => {
5-
console.log(lang, 'lang');
65
await addScript('./_content/BootstrapBlazor.UniverSheet/univer/react.production.min.js');
76
await addScript('./_content/BootstrapBlazor.UniverSheet/univer/react-dom.production.min.js');
87
await addScript('./_content/BootstrapBlazor.UniverSheet/univer/rxjs.umd.min.js');
@@ -12,7 +11,7 @@ const loadAssets = async lang => {
1211
await addScript('./_content/BootstrapBlazor.UniverSheet/univer/univerjs.sheets-zen-editor/index.umd.min.js');
1312
await addScript('./_content/BootstrapBlazor.UniverSheet/univer/univerjs.preset-sheets-data-validation/index.umd.min.js');
1413
await addScript('./_content/BootstrapBlazor.UniverSheet/univer/univerjs.preset-sheets-advanced/index.umd.min.js');
15-
14+
1615
await addScript(`./_content/BootstrapBlazor.UniverSheet/univer/univerjs.preset-sheets-core/locales/${lang}.js`);
1716
await addScript(`./_content/BootstrapBlazor.UniverSheet/univer/univerjs.preset-sheets-drawing/locales/${lang}.js`);
1817
await addScript(`./_content/BootstrapBlazor.UniverSheet/univer/univerjs.sheets-zen-editor/locales/${lang}.js`);
@@ -25,7 +24,7 @@ const loadAssets = async lang => {
2524
export async function createUniverSheetAsync(sheet) {
2625
sheet.lang = sheet.lang ?? 'en-US';
2726
await loadAssets(sheet.lang);
28-
27+
2928
const { el } = sheet;
3029
const { LocaleType, merge } = UniverCore;
3130
const { createUniver } = UniverPresets;

0 commit comments

Comments
 (0)