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

导航栏不显示 滑动后的图片与描述文字空白 #380

Open
jartins opened this issue Oct 31, 2022 · 3 comments
Open

导航栏不显示 滑动后的图片与描述文字空白 #380

jartins opened this issue Oct 31, 2022 · 3 comments

Comments

@jartins
Copy link

jartins commented Oct 31, 2022

image

image

下载官网示例 直接放到create-react-app中

运行效果如下
image
image
image

package.json
{
"name": "demo",
"version": "0.1.0",
"private": true,
"dependencies": {
"@ant-design/compatible": "^5.0.0-alpha.2",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"antd": "^4.23.6",
"customize-cra": "^1.0.0",
"enquire-js": "^0.2.1",
"less": "^4.1.3",
"less-loader": "^11.1.0",
"rc-banner-anim": "^2.4.5",
"rc-queue-anim": "^2.0.0",
"rc-scroll-anim": "^2.7.6",
"rc-tween-one": "^3.0.6",
"react": "^18.2.0",
"react-app-rewired": "^2.2.1",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-app-rewired test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"babel-plugin-import": "^1.13.5"
}
}

@jartins
Copy link
Author

jartins commented Oct 31, 2022

image

image

image

资源加载正常 就是未显示出来

@jartins
Copy link
Author

jartins commented Oct 31, 2022

image

@mdoip
Copy link

mdoip commented Dec 28, 2022

Nav3.jsx 76行 animation={{ opacity: 1, type: 'from' }}

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

No branches or pull requests

2 participants