-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Dva2.0 #567
Dva2.0 #567
Conversation
可以可以,我先测一下有没有额外的bug,再merge |
第一次载入时样式还没加载上会闪烁 |
开发环境css是js生成的,到生产环境就好了 |
|
@@ -1,7 +1,7 @@ | |||
import React from 'react' | |||
import PropTypes from 'prop-types' | |||
import { Menu, Icon } from 'antd' | |||
import { Link } from 'dva/router' | |||
import { LinkWrapper } from 'components' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里的 LinkWrapper 是从哪里来的呀,我查看了下 src/components/index.js 中导出的对象中并没有 LinkWrapper,有点疑问,请教一下。
有一些格式化引起diff,抱歉。。。
升级dva@2;使用cross-env;给Loader组件增加了一个fullScreen选项,为了在按需加载pageRoute的时候有一个loading效果