系统 Properties 中默认值如果为空字符串不会返回查询结果 #1689
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
kind/feature
Categorizes issue or PR as related to a new feature.
Milestone
是什么版本出现了此问题?
1.5.0-alpha.1
使用的什么数据库?
MySQL 8.x
使用的哪种方式部署?
Fat Jar
在线站点地址
https://halo.run
发生了什么?
比如 CommentProperties 中的
GRAVATAR_DEFAULT
属性的默认值为空字符串,那么在查询接口中不会返回此字段,期望返回此字段,因为在某些情况下空字符串是有意义的。比如初始化系统之后:
此设置项没有绑定属性。
前台评论框因为没有这个字段所以无法加载头像。
相关日志输出
No response
附加信息
No response
The text was updated successfully, but these errors were encountered: