bilibili_blacklist icon indicating copy to clipboard operation
bilibili_blacklist copied to clipboard

导入数据库之后无法显示

Open LinHeLurking opened this issue 4 years ago • 5 comments

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

LinHeLurking avatar Apr 10 '20 04:04 LinHeLurking

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

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.

LinHeLurking avatar Apr 10 '20 05:04 LinHeLurking

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

harrynull avatar Apr 10 '20 15:04 harrynull

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

LinHeLurking avatar Apr 13 '20 07:04 LinHeLurking

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

harrynull avatar Apr 13 '20 18:04 harrynull

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

LinHeLurking avatar May 11 '20 01:05 LinHeLurking