star7th / showdoc

ShowDoc is a tool greatly applicable for an IT team to share documents online一个非常适合IT团队的在线API文档、技术文档工具
https://www.showdoc.com.cn
Other
12.18k stars 2.18k forks source link

更新到最新版后,有个前端报错 #1365

Closed huangmaidi closed 3 years ago

huangmaidi commented 3 years ago

Chrome浏览器 image

star7th commented 3 years ago

访问哪个页面的时候才出现此错误

huangmaidi commented 3 years ago

访问哪个页面的时候才出现此错误

几乎我文档的所有页面都报这个错,可以给你一个地址看下 http://showdoc.g-hi.com/web/#/55?page_id=3061

huangmaidi commented 3 years ago

访问哪个页面的时候才出现此错误

目前看应该是影响了代码块字体颜色,现在字体都是黑体字,更新前颜色是不一样的

star7th commented 3 years ago

我没发现问题。是你的网络加载不全。

huangmaidi @.***> 于2021年5月24日周一 下午3:32写道:

访问哪个页面的时候才出现此错误

目前看应该是影响了代码块字体颜色,现在字体都是黑体字,更新前颜色是不一样的

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/star7th/showdoc/issues/1365#issuecomment-846833997, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQZHLR3AOVZXUPFGENL47DTPH6JTANCNFSM45MVFCMQ .

star7th commented 3 years ago

建议安装在好一点的服务器上。你那个太慢了。

huangmaidi commented 3 years ago

建议安装在好一点的服务器上。你那个太慢了。

和网络、服务器没关系,我这边访问是很快的。应该是浏览器问题,我换个浏览器就没报错,你是用chrome看的么?

star7th commented 3 years ago

当没加载highlight.min.js文件就会报这样的错误。总之你这个不是共性问题。我是谷歌浏览器看的。

huangmaidi @.***> 于2021年5月24日周一 下午3:41写道:

建议安装在好一点的服务器上。你那个太慢了。

和网络、服务器没关系,我这边访问是很快的。应该是浏览器问题,我换个浏览器就没报错,你是用chrome看的么?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/star7th/showdoc/issues/1365#issuecomment-846839989, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQZHLRLCYD5WT2HK3HRQWLTPH7JHANCNFSM45MVFCMQ .

huangmaidi commented 3 years ago

当没加载highlight.min.js文件就会报这样的错误。总之你这个不是共性问题。我是谷歌浏览器看的。 huangmaidi @.***> 于2021年5月24日周一 下午3:41写道: 建议安装在好一点的服务器上。你那个太慢了。 和网络、服务器没关系,我这边访问是很快的。应该是浏览器问题,我换个浏览器就没报错,你是用chrome看的么? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#1365 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQZHLRLCYD5WT2HK3HRQWLTPH7JHANCNFSM45MVFCMQ .

缓存问题,浏览器加载旧的highlight.min.js文件,清了缓存就好了