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

导入数据库之后无法显示 #22

Open
LinHeLurking opened this issue Apr 10, 2020 · 5 comments
Open

导入数据库之后无法显示 #22

LinHeLurking opened this issue Apr 10, 2020 · 5 comments

Comments

@LinHeLurking
Copy link

如图, 在将https://harrynull.tech/bilibili/fetch_sharelist 的 json 文件导入数据库之后出现了这样的情况, 在网页端看不到对应的数据.
image

@LinHeLurking
Copy link
Author

并补充一下, 数据库导入没有报错

D:\workspace\mongodb-win32-x86_64-2012plus-4.2.5\bin\mongoimport.exe --db bilibili_blacklist --collection sharelist --file fetch_sharelist.json --jsonArray
2020-04-10T13:02:41.914+0800    connected to: mongodb://localhost/
2020-04-10T13:02:42.029+0800    441 document(s) imported successfully. 0 document(s) failed to import.

@harrynull
Copy link
Owner

F12 Network里/sharelist请求的response是什么,正常吗。
以及 F12 console 和 nodejs 里有没有报错。

@LinHeLurking
Copy link
Author

response 看起来是正常的
image

console 里面好像有个字体错误

GET https://fonts.googleapis.com/css?family=Lato:400,700,400italic net::ERR_BLOCKED_BY_CLIENT

还有一个warning

DevTools failed to parse SourceMap: http://127.0.0.1:8000/js/bootstrap.min.js.map

@harrynull
Copy link
Owner

我这里本地无法复现。既然数据获取是正常的,我猜测是前端的问题。建议你用审查元素和 vue-devtools 等调试一下前端,看看是哪里出了问题。

@LinHeLurking
Copy link
Author

因为一个偶然发现了如何解决: 关闭 AdBlock Plus...

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