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

编辑 json 文件时前端出错 #1165

Closed
3 tasks done
PerpEternal opened this issue May 28, 2022 · 1 comment
Closed
3 tasks done

编辑 json 文件时前端出错 #1165

PerpEternal opened this issue May 28, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@PerpEternal
Copy link

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure it's due to alist and not something else(such as Dependencies or Operational).

Alist Version / Alist 版本

v2.5.2-0-ge1ccc0b

Describe the bug / 问题描述

当编辑只包含一对括号的 json 文件时,如 [] , {},前端会出错,报错信息为 TypeError: (typeof le=="string"?T(le):le).create is not a function. (In '(typeof le=="string"?T(le):le).create(x)', '(typeof le=="string"?T(le):le).create' is undefined)
建议增加RUN apk add --no-cache tzdata,方便查看日志的时间戳

Reproduction / 复现链接

Logs / 日志

No response

@welcome
Copy link

welcome bot commented May 28, 2022

Thanks for opening your first issue here! Be sure to follow the issue template!

@xhofe xhofe added the bug Something isn't working label May 28, 2022
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