Skip to content

Commit 00ee548

Browse files
committed
refactor: 重新设计文件结构
1 parent 7f95f94 commit 00ee548

6 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/components/BootstrapBlazor.UniverSheet/Components/UniverSheet.razor.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
import { isFunction, registerBootstrapBlazorModule } from '../../BootstrapBlazor/modules/utility.js'
2-
import { createUniverSheetAsync } from '../univer.js'
2+
import { createUniverSheetAsync } from '../js/univer.js'
33
import Data from '../../BootstrapBlazor/modules/data.js'
44
import EventHandler from "../../BootstrapBlazor/modules/event-handler.js"
55

66
export async function init(id, invoke, options) {
7+
await addLink('./_content/BootstrapBlazor.UniverSheet/css/univer-sheet.bundle.css');
8+
79
const el = document.getElementById(id);
810
if (el === null) {
911
return;

src/components/BootstrapBlazor.UniverSheet/wwwroot/univer/univer-bundle.css renamed to src/components/BootstrapBlazor.UniverSheet/wwwroot/css/univer-bundle.css

File renamed without changes.

src/components/BootstrapBlazor.UniverSheet/wwwroot/univer/univer-sheet.bundle.css renamed to src/components/BootstrapBlazor.UniverSheet/wwwroot/css/univer-sheet.bundle.css

File renamed without changes.

src/components/BootstrapBlazor.UniverSheet/wwwroot/data-service.js renamed to src/components/BootstrapBlazor.UniverSheet/wwwroot/js/data-service.js

File renamed without changes.

src/components/BootstrapBlazor.UniverSheet/wwwroot/plugin.js renamed to src/components/BootstrapBlazor.UniverSheet/wwwroot/js/plugin.js

File renamed without changes.

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ const loadAssets2 = async lang => {
2828

2929
const loadAssets = async lang => {
3030
await addScript('./_content/BootstrapBlazor.UniverSheet/univer/univer-bundle.js');
31-
await addLink('./_content/BootstrapBlazor.UniverSheet/univer/univer-sheet.bundle.css');
3231
}
3332

3433
export async function createUniverSheetAsync(sheet) {

0 commit comments

Comments
 (0)