We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 722ec21 commit 233abadCopy full SHA for 233abad
1 file changed
src/components/BootstrapBlazor.UniverSheet/wwwroot/univer.js
@@ -19,7 +19,6 @@ const loadAssets = async () => {
19
await addLink('./_content/BootstrapBlazor.UniverSheet/univer/css/univer-sheet.bundle.css');
20
}
21
22
-
23
export async function createUniverSheetAsync(sheet) {
24
await loadAssets();
25
@@ -70,7 +69,7 @@ export async function createUniverSheetAsync(sheet) {
70
69
...options
71
});
72
73
- const { data } = sheet.options.data || {};
+ const { data } = sheet.options || {};
74
if (data) {
75
const option = typeof data === 'string' ? JSON.parse(data) : data;
76
univerAPI.createWorkbook(option);
0 commit comments