Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

fix(base-sheets): dev error

Dushusirf32ba0776e61
diff --git a/packages/base-sheets/src/SpreadsheetPlugin.tsx b/packages/base-sheets/src/SpreadsheetPlugin.tsx
index 4c7966b608..6d784449f0 100644
--- a/packages/base-sheets/src/SpreadsheetPlugin.tsx
+++ b/packages/base-sheets/src/SpreadsheetPlugin.tsx
@@ -428,9 +428,9 @@ export class SpreadsheetPlugin extends Plugin<SpreadsheetPluginObserve> {
this._rightMenuControl.addItem(item);
}
- addToolButton(config: IToolBarItemProps) {
- this._toolBarControl1.addToolButton(config);
- }
+ // addToolButton(config: IToolBarItemProps) {
+ // this._toolBarControl1.addToolButton(config);
+ // }
registerComponent(name: string, component: any, props?: any) {
this._componentList.set(name, {