Skip to content

Commit 722ec21

Browse files
committed
refactor: 移除不需要的设置
1 parent 1807583 commit 722ec21

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • src/components/BootstrapBlazor.UniverSheet/wwwroot

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import DataService from './data-service.js'
22

3-
const { Plugin, Injector, setDependencies, UniverInstanceType } = UniverCore;
3+
const { Plugin, Injector, setDependencies } = UniverCore;
44

5-
// 定义插件类
65
export class DefaultPlugin extends Plugin {
76
static pluginName = 'DefaultPlugin';
87

@@ -65,7 +64,7 @@ export class DefaultPlugin extends Plugin {
6564
delete data.resources;
6665
return {
6766
messageName: null,
68-
commandName: 'Save',
67+
commandName: null,
6968
data: JSON.stringify(data)
7069
};
7170
}

0 commit comments

Comments
 (0)