feat:
1. 更新框架 2. 修复框架更新后导致的问题
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import type { SpreadsheetCommand } from '../types';
|
||||
|
||||
|
||||
|
||||
export function createSetCellValueCommand(
|
||||
|
||||
undo: () => void | Promise<void>,
|
||||
|
||||
redo: () => void | Promise<void>,
|
||||
|
||||
): SpreadsheetCommand {
|
||||
|
||||
import type { SpreadsheetCommand } from '../types';
|
||||
|
||||
export function createSetCellValueCommand(
|
||||
undo: () => void | Promise<void>,
|
||||
redo: () => void | Promise<void>,
|
||||
): SpreadsheetCommand {
|
||||
return {
|
||||
label: 'setCellValue',
|
||||
undo,
|
||||
redo,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user