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

保存主题设置失败 #140

Open
seeyou-ctrip opened this issue Jun 16, 2022 · 0 comments
Open

保存主题设置失败 #140

seeyou-ctrip opened this issue Jun 16, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@seeyou-ctrip
Copy link

是什么版本出现了此问题?

1.0.10

Halo 版本

1.5.2

平台

桌面端

操作系统

linux

浏览器

chrome

在线站点地址

https://applyset.xyz

描述缺陷

image
在设置主题轮博图的时候,轮博图数据来源选择的是最新文章,保存主题配置报错,最后发现去掉手动数据源就可以保存了

清空settings.yaml中的default值就不会存在该问题
banner_data:
name: banner_data
label: 手动配置数据
type: textarea
default: "欢迎使用Joe2.0主题-|||-这是一款功能齐全的Halo博客主题,感谢大家的支持🙏-|||-/themes/joe2.0/source/img/dp/welcome.jpg-|||-https://github.com/qinhua/halo-theme-joe2.0#readme=====剪映创作不凡 - TRACK概念片-|||-超能剪辑力如何才能快速GET,且看这里-|||-https://img.zcool.cn/community/011ca2614d755911013e894390b399.png@1280w_1l_2o_100sh.png-|||-#"
description: "手动配置首页的轮播图数据,仅当数据来源为 “手动配置” 时生效(注意:主题内默认配置了演示数据)。【多个轮播图之间用 '=====' 隔开,属性之间用 '-|||-' 隔开】(为了美观,允许换行),【具体示例】标题-|||-副标题-|||-图片链接-|||-跳转链接,不需要跳转写 '#' 即可(请严格按照此格式或默认示例进行配置,否则可能导致网站崩溃)"
banner_amount_limit:

如何复现

hope fix

期望结果

hope fix

附加信息

hope fix

@seeyou-ctrip seeyou-ctrip added the bug Something isn't working label Jun 16, 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

1 participant