diff --git a/.roadhogrc b/.roadhogrc index 21d69816cb2129e3b6db03db6b1a867cad7bcae9..61c0ea7a33930bcb3ca9a5c64dae855b50f3f52a 100755 --- a/.roadhogrc +++ b/.roadhogrc @@ -17,5 +17,9 @@ ] } }, + "externals": { + "g2": "G2", + "g-cloud": "Cloud" + }, "theme": "./src/theme.js" } diff --git a/.roadhogrc.mock.js b/.roadhogrc.mock.js index 3fabce2ea2179c219cfdddb98e05b42af766b7ab..ff2e18b073f22e0be5a570f639ae2f3a52c3a2fa 100644 --- a/.roadhogrc.mock.js +++ b/.roadhogrc.mock.js @@ -62,7 +62,7 @@ const proxy = { res.send('Ok'); }, 'GET /api/tags': mockjs.mock({ - 'list|100': [{ name: '@city', 'value|1-100': 50, 'type|0-2': 1 }] + 'list|100': [{ name: '@city', 'value|1-100': 150, 'type|0-2': 1 }] }), 'GET /api/fake_list': getFakeList, 'GET /api/fake_chart_data': getFakeChartData, diff --git a/package.json b/package.json index 502c2435699aa9deaf497d8c30a129930736b842..9a5c25f52a6a3b7c9ededabedc25ceffe89d6850 100755 --- a/package.json +++ b/package.json @@ -16,8 +16,6 @@ "dependencies": { "antd": "next", "dva": "^1.2.1", - "g-cloud": "^1.0.2-beta", - "g2": "^2.3.8", "g2-plugin-slider": "^1.2.1", "lodash": "^4.17.4", "numeral": "^2.0.6", diff --git a/public/index.html b/public/index.html index 60ed560f2cf04c9e9fbbc1a383674fa28f687ab9..8398ca1a0c782e1f8c7331d25bab86861520c97c 100755 --- a/public/index.html +++ b/public/index.html @@ -4,10 +4,13 @@