We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
loading
http://stackoverflow.com/questions/42749353/actions-may-not-have-an-undefined-type-property-have-you-misspelled-a-constan
问题在哪啊?
The text was updated successfully, but these errors were encountered:
** 改动 代码 ** ,变成这个样子.
loading 依然,没有加载出来啊.
P 标签,
P
没有展示出来.
case LOAD_ARTICLES: { return { ...state, loading: true, error: false, }; } case LOAD_ARTICLES_SUCCESS: { return { ...state, loading: true, error: false, articleList: action.payload, }; } case LOAD_ARTICLES_ERROR: { return { ...state, loading: false, error: true, }; } default: return state; }
Sorry, something went wrong.
没有 loading 肯 error 啊,大神.
error
@connect(state => { return { articleList: state.home.list.articleList, loading: state.home.list.loading, error: state.home.list.error, }; }, { push, ...actions, })
加上这两个就好了.
loading: state.home.list.loading, error: state.home.list.error,
No branches or pull requests
http://stackoverflow.com/questions/42749353/actions-may-not-have-an-undefined-type-property-have-you-misspelled-a-constan
问题在哪啊?
The text was updated successfully, but these errors were encountered: