diff --git a/src/routes/Dashboard/Analysis.js b/src/routes/Dashboard/Analysis.js index 3f69f798e1d5c9643a8d79674079694ef4f085bf..477fd1fae97373f3059ef6308829f2d5267559b0 100644 --- a/src/routes/Dashboard/Analysis.js +++ b/src/routes/Dashboard/Analysis.js @@ -1,6 +1,6 @@ import React, { Component } from 'react'; import { connect } from 'dva'; -import { Row, Col, Icon, Card, Tabs, Table, Radio, DatePicker, Tooltip } from 'antd'; +import { Row, Col, Icon, Card, Tabs, Table, Radio, DatePicker, Tooltip, Menu, Dropdown } from 'antd'; import numeral from 'numeral'; import { ChartCard, yuan, MiniArea, MiniBar, MiniProgress, Field, Bar, Pie, TimelineChart, @@ -108,9 +108,18 @@ export default class Analysis extends Component { : (salesType === 'online' ? salesTypeDataOnline : salesTypeDataOffline); + const menu = ( + + 操作一 + 操作二 + + ); + const iconGroup = ( - + + + ); diff --git a/src/routes/Forms/AdvancedForm.js b/src/routes/Forms/AdvancedForm.js index ce450fd83527ae64b993dd71e16382c3d4057d28..c633e71369b712923a2abbefd00b7f5117f633c8 100644 --- a/src/routes/Forms/AdvancedForm.js +++ b/src/routes/Forms/AdvancedForm.js @@ -96,7 +96,7 @@ function AdvancedForm({ form, dispatch, submitting }) { return ( diff --git a/src/routes/Forms/BasicForm.js b/src/routes/Forms/BasicForm.js index b613fca2ce64ce493335c9d4974342f59b2a8a0e..de6cafe84977a4d0d71c41ae902785e0221dc39a 100644 --- a/src/routes/Forms/BasicForm.js +++ b/src/routes/Forms/BasicForm.js @@ -51,7 +51,7 @@ export default class BasicForms extends PureComponent { }; return ( - +
+