fix(grid): 修复批量生成值后保存快捷键失效
Co-authored-by: zipg <4047349+zipg@users.noreply.github.com>
This commit is contained in:
1 parent
6c2ca2eadd
commit
4311ace960
2 files changed
+10
-1
No files matched your search
@@ -6464,7 +6464,10 @@ function applyGeneratedSelectionValue(kind: CellValueGenerationKind, startValue
|
||||
} finally {
|
||||
commitBatch();
|
||||
}
|
||||
if (applied) toast(t("grid.generatedValuesApplied", { count: cells.length }));
|
||||
if (applied) {
|
||||
toast(t("grid.generatedValuesApplied", { count: cells.length }));
|
||||
void nextTick(() => window.requestAnimationFrame(() => gridRef.value?.focus({ preventScroll: true })));
|
||||
}
|
||||
return applied;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user