.1502411993651747:6917fbf15ad64f5f84bdb4bc79dee067_69f303f8dc48703ced6ccabf.69f3041edc48703ced6ccad3.69f3041e044a8b0cf22b73b4:Trae CN.T(2026/4/30 15:26:22)#12
Open
lovely90133 wants to merge 2 commits intoyeazin:mainfrom
Conversation
实现文章草稿和发布状态管理功能,包括: - 修改博客模型状态选项为草稿和发布 - 添加更新时间和状态字段 - 实现发布和转为草稿的视图 - 在文章列表和表单中添加状态管理UI - 更新相关视图和模板以支持新状态
当没有特色博客时,避免模板渲染错误。将查询结果转换为列表并添加空值检查,确保模板安全渲染。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix(首页): 修复特色博客显示逻辑
当没有特色博客时,避免模板渲染错误。将查询结果转换为列表并添加空值检查,确保模板安全渲染。