From c166efc6e6cf4a86bbb64c121a8dc109dbf26074 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=9D=A8?= <1711467488@qq.com> Date: Sat, 17 Feb 2018 10:11:48 +0800 Subject: [PATCH] no message Former-commit-id: ddf32a1c27719b3bc0f35216c885c927fc716ae3 Former-commit-id: 255da9f58481583058be881592e637fa1c98606d Former-commit-id: c891fe042d3256edf4c183b99f501114354453d5 --- src/components/G2/charts/Pie/1.vue | 2 -- src/components/G2/mixins/G2.js | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/G2/charts/Pie/1.vue b/src/components/G2/charts/Pie/1.vue index 1634b689..e1f06770 100644 --- a/src/components/G2/charts/Pie/1.vue +++ b/src/components/G2/charts/Pie/1.vue @@ -70,11 +70,9 @@ export default { changeData () { if (this.chart) { // 已经初始化过图表 更新数据 - console.log(1) this.chart.changeData(this.dvMaker()) } else { // 没有图表 新创建一个实例 - console.log(2) this.initHandler() } } diff --git a/src/components/G2/mixins/G2.js b/src/components/G2/mixins/G2.js index cbbf38ae..83831a05 100644 --- a/src/components/G2/mixins/G2.js +++ b/src/components/G2/mixins/G2.js @@ -1,5 +1,6 @@ import G2 from '@antv/g2' import * as DataSet from '@antv/data-set' + // 关闭 G2 的体验改进计划打点请求 G2.track(false)