@@ -37,7 +37,7 @@ class MainRoot extends Component {
</div>
{/* 首页常用功能模块 */}
<div className="main-common">
- <OftenFuncGrid/>
+ <OftenFuncGrid rightIcon='uas-edit'/>
{/* 首页看板展示 */}
<div className="main-kanban">
@@ -24,9 +24,8 @@ class OftenFuncGrid extends Component {
}
render () {
- const oftenFunc = {
+ let oftenFunc = {
groupText: '常用',
- rightIcon: 'uas-edit',
funcList: [
{ name: '销售订单' },
{ name: '出货通知单' },
@@ -40,6 +39,8 @@ class OftenFuncGrid extends Component {
],
+
+ oftenFunc.rightIcon = this.props.rightIcon
return (
<FuncGroup
funcGroup={oftenFunc}