From 694da2ba745a371244c07bb6a31cff07559bb818 Mon Sep 17 00:00:00 2001 From: qiufeihong2018 <15058301288@163.com> Date: Sun, 12 May 2024 16:51:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20toJSON({=20diff:=20true=20})=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E8=BE=BE=E5=88=B0=E9=A2=84=E6=9C=9F=E6=95=88=E6=9E=9C?= =?UTF-8?q?=20#4297?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sites/x6-sites/docs/api/model/cell.zh.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sites/x6-sites/docs/api/model/cell.zh.md b/sites/x6-sites/docs/api/model/cell.zh.md index d14a808556a..cb93e6aa361 100644 --- a/sites/x6-sites/docs/api/model/cell.zh.md +++ b/sites/x6-sites/docs/api/model/cell.zh.md @@ -559,10 +559,10 @@ toJSON(options?: Cell.ToJSONOptions): Object | 选项 | 类型 | 默认值 | 必选 | 描述 | |--------------|---------|---------|:----:|---------------------------------------| -| options.diff | boolean | `false` | | 是否返回与默认值相比具有差异的那些数据。 | +| options.diff | boolean | `false` | | 是否返回与默认值相比具有差异的那些数据(还是会导出整个画布的数据)。 | - 当 `options.diff` 为 `false` 时,返回完整数据。 -- 当 `options.diff` 为 `true` 时,返回差异数据。 +- 当 `options.diff` 为 `true` 时,返回差异数据(剔除属性的默认值)。 #### clone(...)