@gct-paas/word 0.2.36-beta.2 → 0.2.36-beta.4

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.
@@ -381,8 +381,9 @@ export declare class DataManager {
381
381
  * @param targetPath 依赖值计算后需写入的字段路径
382
382
  * @param expr 计算公式字符串
383
383
  * @param callback 回调函数
384
+ * @param skipWriteOnUndefined 整条公式返回 undefined 时是否跳过赋值
384
385
  */
385
- registerFieldDependency(targetPath: string, expr: string, callback?: (res: any) => any): void;
386
+ registerFieldDependency(targetPath: string, expr: string, callback?: (res: any) => any, skipWriteOnUndefined?: boolean): void;
386
387
  /** 收集依赖 */
387
388
  private collectDependencies;
388
389
  /** 统一执行组件依赖 */