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 621cdef commit cbab4d5Copy full SHA for cbab4d5
1 file changed
src/components/BootstrapBlazor.UniverSheet/wwwroot/plugin.js
@@ -27,10 +27,10 @@ export class DefaultPlugin extends Plugin {
27
}
28
29
receiveData(payload) {
30
- const { messageName, commandName, data } = payload;
+ const { messageName, commandName, data, workbookData } = payload;
31
if (messageName === null) {
32
if (commandName === 'SetWorkbook') {
33
- this.setWorkbookData(JSON.parse(data));
+ this.setWorkbookData(JSON.parse(workbookData));
34
35
else if (commandName === 'GetWorkbook') {
36
return this.getWorkbookData();
0 commit comments