提交 3ca5cf23475ac678c8c0bed67a8b449733ab8247

作者 sorrycc
1 个父辈 a871d835

fix: user-dashboard

... ... @@ -2,7 +2,7 @@ import { Component } from 'react';
2 2 import { connect } from 'dva';
3 3 import Users from './components/Users';
4 4
5   -class BLOCK_NAME extends Component {
  5 +class BLOCK_NAME_CAMEL_CASE extends Component {
6 6 componentDidMount() {
7 7 this.props.dispatch({
8 8 type: 'BLOCK_NAME/fetch',
... ... @@ -21,4 +21,4 @@ class BLOCK_NAME extends Component {
21 21 }
22 22 }
23 23
24   -export default connect()(BLOCK_NAME);
  24 +export default connect()(BLOCK_NAME_CAMEL_CASE);
... ...
注册登录 后发表评论