@univerjs/sheets 0.1.9 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -923,7 +923,10 @@ const Vt = {
923
923
  id: "sheet.command.set-range-values",
924
924
  type: w.COMMAND,
925
925
  handler: (t, e) => {
926
- const o = t.get(b), n = t.get(x), r = t.get(I), s = t.get(T), i = t.get(K), a = $(r);
926
+ const o = t.get(b), n = t.get(x), r = t.get(I), s = t.get(T), i = t.get(K), a = $(r, {
927
+ subUnitId: e.subUnitId,
928
+ unitId: e.unitId
929
+ });
927
930
  if (!a)
928
931
  return !1;
929
932
  const { subUnitId: u, unitId: c } = a, { value: d, range: l } = e, g = l ? [l] : s.getSelectionRanges();