Commit a957bffb authored by afc163's avatar afc163

Add favicon and update g2 default theme

parent 85b880cf
......@@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Ant Design Pro</title>
<link rel="icon" href="https://gw.alipayobjects.com/zos/rmsportal/IOtlElCiWVIOZqgDslYd.png" type="image/x-icon">
<link rel="stylesheet" href="index.css" />
</head>
<body>
......
// 全局 G2 设置
import G2 from 'g2';
G2.track(false);
const config = {
...G2.Theme,
defaultColor: '#1089ff',
tooltip: {
background: {
radius: 4,
fill: '#000',
fillOpacity: 0.75,
},
},
};
G2.Global.setTheme(config);
import dva from 'dva';
import G2 from 'g2';
import 'moment/locale/zh-cn';
import models from './models';
import './g2';
// import { browserHistory } from 'dva/router';
import './index.less';
G2.track(false);
// 1. Initialize
const app = dva({
// history: browserHistory,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment