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

在分享中预览js等格式文件时,页面崩溃 #1251

Closed
actionee opened this issue Apr 28, 2022 · 0 comments
Closed

在分享中预览js等格式文件时,页面崩溃 #1251

actionee opened this issue Apr 28, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@actionee
Copy link

actionee commented Apr 28, 2022

Describe the bug
在分享中预览 js html json 等文件时,页面崩溃

To Reproduce
Steps to reproduce the behavior:

  1. 打开分享链接(不区分登录状态,都可复现)
  2. 双击分享文件中的 js html json 等格式后,进入预览状态
  3. 提示“页面渲染出现错误,请尝试刷新解决”
  4. 刷新页面无效,后退至目录,页面不会刷新,手动刷新后可继续查看分享目录页面
  5. 登录状态下报存此类文件至自己的目录,可以直接预览

Screenshots
页面报错:
image

控制台报错:
image

Desktop (please complete the following information):

  • OS: [Windows 10 Pro x64]
  • Browser [Edge, Chrome]
  • Cloudreve Version [3.5.2 Pro]
@HFO4 HFO4 added the bug Something isn't working label Apr 28, 2022
HFO4 pushed a commit to cloudreve/frontend that referenced this issue Apr 28, 2022
…reve#1246) (#102)

* WAV 音频在线播放

* 登录状态访问登录页面跳转主页 (cloudreve/Cloudreve#1160)

* 同步更改

* 关闭注册时隐藏注册按钮 (cloudreve/Cloudreve#1133)

* 移除历史遗留文件

* 修复用户设置中的黑暗模式按钮失效 (cloudreve/Cloudreve#1246)

* 修复离线下载-进行中-打开存放目录按钮错误 (cloudreve/Cloudreve#1246)

* Fix: Code分享预览错误 (cloudreve/Cloudreve#1251)

* Revert "Fix: Code分享预览错误 (cloudreve/Cloudreve#1251)"

This reverts commit f08c41f.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants