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

nginx 部署时 前端报错 #14

Open
Conwy2021 opened this issue Jul 14, 2021 · 1 comment
Open

nginx 部署时 前端报错 #14

Conwy2021 opened this issue Jul 14, 2021 · 1 comment

Comments

@Conwy2021
Copy link

nginx部署好后
本地访问报
Uncaught TypeError: i is undefined
b240 headroom.min.js:11
b240 headroom.min.js:8
b240 app.2da3d9c0.js:6
h (index):1
a18c app.2da3d9c0.js:1
h (index):1
4360 app.2da3d9c0.js:1
h (index):1
56d7 app.2da3d9c0.js:1
h (index):1
0 app.2da3d9c0.js:1
h (index):1
n (index):1
c (index):1
app.2da3d9c0.js:1
其他服务器访问报
headroom.min.js:11 Uncaught TypeError: Cannot set property 'Headroom' of undefined
at headroom.min.js:11
at Object. (headroom.min.js:8)
at Object.b240 (app.2da3d9c0.js:6)
at h (admin:1)
at Object.a18c (app.2da3d9c0.js:1)
at h (admin:1)
at Object.4360 (app.2da3d9c0.js:1)
at h (admin:1)
at Module.56d7 (app.2da3d9c0.js:1)

@Conwy2021
Copy link
Author

解决方案是:
作者答复
这个是headroom.js 插件报的错误,我记得之前删了已经,如果是没有,你需要tumo-vue全局搜索 headroom关键字,把 .vue 文件引用此插件的代码删除掉即可,这个插件是顶部栏显示页面加载进度条效果的

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

1 participant