正在显示
2 个修改的文件
包含
3 行增加
和
3 行删除
... | ... | @@ -4,12 +4,12 @@ import { connect } from 'dva'; |
4 | 4 | |
5 | 5 | import styles from './style.less'; |
6 | 6 | |
7 | -@connect(({ BLOCK_NAME }) => BLOCK_NAME) | |
7 | +@connect(({ BLOCK_NAME_CAMEL_CASE }) => BLOCK_NAME_CAMEL_CASE) | |
8 | 8 | class Page extends Component { |
9 | 9 | componentDidMount() { |
10 | 10 | const { dispatch } = this.props; |
11 | 11 | dispatch({ |
12 | - type: 'BLOCK_NAME/fetch', | |
12 | + type: 'BLOCK_NAME_CAMEL_CASE/fetch', | |
13 | 13 | }); |
14 | 14 | } |
15 | 15 | ... | ... |
请
注册
或
登录
后发表评论