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

jerry4e3c59b6418b
diff --git a/packages/ui-plugin-sheets/src/Controller/SheetBarUIContruller.ts b/packages/ui-plugin-sheets/src/Controller/SheetBarUIContruller.ts
index 025d4edeb5..9a075d448a 100644
--- a/packages/ui-plugin-sheets/src/Controller/SheetBarUIContruller.ts
+++ b/packages/ui-plugin-sheets/src/Controller/SheetBarUIContruller.ts
@@ -137,9 +137,11 @@ export class SheetBarUIController {
name: this._plugin.getPluginName() + ColorPicker.name,
props: {
onClick: (color: string) => {
- that.setUIObserve('onUIChangeObservable', { name: 'changeSheetColor', value: color });
- console.dir(color)
- this.setUIObserve('onSheetColor', { name: 'sheetColor', value: color });
+ this.setUIObserve('onUIChangeObservable', {
+ name: 'changeSheetColor', value: {
+ color, sheetId: this._dataId
+ }
+ });
},
},
},