浏览代码

Initial range

afc163 8 年之前
父节点
当前提交
d1596ea90f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/routes/Dashboard/Analysis.js

+ 1 - 1
src/routes/Dashboard/Analysis.js

@@ -29,7 +29,7 @@ export default class Analysis extends Component {
   state = {
     salesType: 'all',
     currentTabKey: '',
-    rangePickerValue: [],
+    rangePickerValue: getTimeDistance('year'),
   }
 
   componentDidMount() {