From 1f816c3889fd38de8cc4c9bcc5ae792922fd52da Mon Sep 17 00:00:00 2001 From: wpxp123456 Date: Mon, 30 Dec 2024 11:10:49 +0800 Subject: [PATCH] fix(cf): fix ref range --- .../src/controllers/cf.ref-range.controller.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/sheets-conditional-formatting-ui/src/controllers/cf.ref-range.controller.ts b/packages/sheets-conditional-formatting-ui/src/controllers/cf.ref-range.controller.ts index bec5bd3f764b..9e0752a9e158 100644 --- a/packages/sheets-conditional-formatting-ui/src/controllers/cf.ref-range.controller.ts +++ b/packages/sheets-conditional-formatting-ui/src/controllers/cf.ref-range.controller.ts @@ -235,13 +235,7 @@ export class SheetsCfRefRangeController extends Disposable { return { redos: [], undos: [] }; } - const redoParams: ISetConditionalRuleMutationParams & { - payload: { - newFormulaString: string; - type: CFRuleType; - valueTypeOrIndex?: string | number; - }; - } = { + const redoParams: ISetConditionalRuleMutationParamsRedo = { unitId, subUnitId, rule,