From e80ace57270482b56833decffb368325cc5be26e Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 1 Sep 2017 19:29:39 +0800 Subject: [PATCH] turn off g2 track --- src/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.js b/src/index.js index 1a5f9a5b..22a9fcb1 100644 --- a/src/index.js +++ b/src/index.js @@ -1,10 +1,13 @@ import dva from 'dva'; +import G2 from 'g2'; // import { browserHistory } from 'dva/router'; import 'moment/locale/zh-cn'; import models from './models'; import './index.less'; +G2.track(false); + // 1. Initialize const app = dva({ // history: browserHistory, -- GitLab