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

fix: model hmr works only once #1

Merged
merged 1 commit into from
Feb 2, 2019
Merged

fix: model hmr works only once #1

merged 1 commit into from
Feb 2, 2019

Conversation

gnosis23
Copy link
Contributor

@gnosis23 gnosis23 commented Feb 1, 2019

修复在 app.start 后 model 只能成功替换一次的问题。
原因在于 app.start 后会重新赋值 app.model,但是里面却是直接引用原生的 model 方法。

@dgeibi dgeibi merged commit 79dba64 into dgeibi:master Feb 2, 2019
@dgeibi
Copy link
Owner

dgeibi commented Feb 2, 2019

感谢

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

Successfully merging this pull request may close these issues.

2 participants