Skip to content

Commit c108c78

Browse files
committed
refactor: 移除 console.log 语句
1 parent c6cc5b4 commit c108c78

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • src/components/BootstrapBlazor.UniverSheet/wwwroot

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)