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: model文件名是默认的 dva model namespace #576

Merged
merged 1 commit into from
May 31, 2018

Conversation

xc1427
Copy link
Contributor

@xc1427 xc1427 commented May 31, 2018

比如在 model/ 下面建立 user.js 文件作为一个 dva model 的定义,
那么该 model 的 namespace 默认为 'user',除非在 user.js 文件中显式地给出 namespace

@coveralls
Copy link

coveralls commented May 31, 2018

Pull Request Test Coverage Report for Build 546

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 21.69%

Totals Coverage Status
Change from base Build 542: 0.0%
Covered Lines: 518
Relevant Lines: 2611

💛 - 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