We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b262757 commit 4bdf93fCopy full SHA for 4bdf93f
1 file changed
packages/vchart/src/model/base-model.ts
@@ -245,6 +245,10 @@ export abstract class BaseModel extends LayoutItem implements IModel {
245
}
246
const newObj = { ...obj };
247
Object.keys(newObj).forEach(key => {
248
+ // 绕过数据
249
+ if (key.includes('data')) {
250
+ return;
251
+ }
252
const value = obj[key];
253
// 绕过不可深拷贝的对象
254
if (isObject(value) && (isDataView(value) || isHTMLElement(value))) {
0 commit comments