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

在自定义代码栏中添加代码并保存后未生效,刷新页面后代码会消失 #924

Closed
2 tasks done
wefun8 opened this issue Dec 28, 2024 · 0 comments
Closed
2 tasks done

Comments

@wefun8
Copy link

wefun8 commented Dec 28, 2024

运行环境

Debian12

Nezha 版本

1.4.9

描述问题

在管理面板自定义代码(样式和脚本)栏中添加美化代码,只添加一行代码时能够生效,但是当添加超过两行代码在确认并刷新页面后代码会消失。

复现步骤

例如添加下面这一行代码可以生效: <script src="https://cdn.jsdelivr.net/gh/mocchen/cssmeihua/js/aixin.js"></script> 但是当添加类似下面的两行以上代码时,效果不会生效,点击确认提示成功,刷新页面后代码会消失: <script src="https://cdn.jsdelivr.net/gh/mocchen/cssmeihua/js/aixin.js"></script> <script src="https://cdn.jsdelivr.net/gh/mocchen/cssmeihua/js/yinghua.js"></script>

配置信息

附加信息

验证

  • 我确认这是一个 nezha (哪吒面板) 的问题。
  • 我已经搜索了 Issues,并确认该问题之前没有被反馈过。
@wefun8 wefun8 closed this as completed Dec 29, 2024
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

1 participant