@univerjs/sheets-ui 0.8.1 → 0.8.2-nightly.202506201607

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/facade.js CHANGED
@@ -940,7 +940,7 @@ class Be extends W {
940
940
  onCellRender(e, r = ae.Style, t = me.DATA_VALIDATION) {
941
941
  return this._injector.get(Ee).intercept(be.CELL_CONTENT, {
942
942
  effect: r,
943
- handler: (i, o, s) => (i && (i.customRender = [...i.customRender || [], ...e || []]), s(i)),
943
+ handler: (i, o, s) => (i && !i.customRender && e && (i.customRender = [...e]), s(i)),
944
944
  priority: t
945
945
  });
946
946
  }