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.

flush

jerrye42936f0080e
diff --git a/packages/ui-plugin-sheets/src/Controller/SheetBarUIContruller.ts b/packages/ui-plugin-sheets/src/Controller/SheetBarUIContruller.ts
index 0cf353c4da..6ac224dba3 100644
--- a/packages/ui-plugin-sheets/src/Controller/SheetBarUIContruller.ts
+++ b/packages/ui-plugin-sheets/src/Controller/SheetBarUIContruller.ts
@@ -155,7 +155,9 @@ export class SheetBarUIController {
{
locale: 'sheetConfig.unhide',
onClick: () => {
- that.setUIObserve('onUIChangeObservable', { name: 'unHideSheet', value: this._dataId });
+ // that.setUIObserve('onUIChangeObservable', { name: 'unHideSheet', value: this._dataId });
+ console.log(this._sheetBar.ref.current);
+ this._sheetBar.ref.current.showMenu(true)
},
border: true,
}
@@ -319,8 +321,7 @@ export class SheetBarUIController {
this._sheetBar.contextMenu(e);
}
- dragEnd(element: HTMLDivElement[]) {
- debugger
+ dragEnd = (element: HTMLDivElement[]): void => {
let list: SheetUlProps[] = [];
let sheetId = this._dataId;
Array.from(element).forEach((node: any) => {