Skip to content

Commit 2cc8d95

Browse files
authored
fix(UniverSheet): remove json parse method (#369)
* refactor: remove parse method * chore: bump version 9.0.0-beta08
1 parent ea729ff commit 2cc8d95

2 files changed

Lines changed: 2 additions & 2 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.0-beta07</Version>
4+
<Version>9.0.0-beta08</Version>
55
</PropertyGroup>
66

77
<PropertyGroup>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export async function createUniverSheetAsync(sheet) {
6464

6565
const { data } = sheet.options;
6666
if (data) {
67-
univerAPI.createWorkbook(JSON.parse(data.data));
67+
univerAPI.createWorkbook(data.data);
6868
delete sheet.options.data;
6969
}
7070
else {

0 commit comments

Comments
 (0)