Skip to content
New issue

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

feat: support load model.tsx, model.jsx #409

Merged
merged 1 commit into from
Apr 28, 2018
Merged

Conversation

paranoidjk
Copy link
Contributor

Use Case

import { message } from 'antd';

....
 effects: {
    *fetch(action, { put, call }) {
      message.loading(<div>Loading some data</div>, 0);
      const result = yield call(fetch);
     message.destory();

...

...

@paranoidjk
Copy link
Contributor Author

/cc @sorrycc

@coveralls
Copy link

coveralls commented Apr 28, 2018

Pull Request Test Coverage Report for Build 282

  • 0 of 6 (0.0%) changed or added relevant lines in 1 file are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.02%) to 4.617%

Changes Missing Coverage Covered Lines Changed/Added Lines %
packages/umi-plugin-dva/src/index.js 0 6 0.0%
Files with Coverage Reduction New Missed Lines %
packages/umi-plugin-dva/src/index.js 1 0.0%
Totals Coverage Status
Change from base Build 281: -0.02%
Covered Lines: 80
Relevant Lines: 1766

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants