Repository navigation
收紧 Termina 登录状态和可选字段类型 - #78
Merged
Merged
Conversation
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.
使用者需要注意
登录和注册仍从空用户名、空密码开始。表单交互与后端协议沿用原有行为。
改动与风险
把登录初始状态从
Map Tag Dynamic收紧为Map Tag String,与表单读取及更新的字段类型一致。仅修改一处类型声明,已用 Git 验证可与 #77 无冲突合并。验证
Calcit 0.42.1 双入口完整 strict、原有动态方法及弃用检查、5 项附带测试、前后端 JS 生成和 Vite 构建通过。
可选字段读取函数
field-or现在保留 Map 值类型,缺失或 nil 时仍返回调用方提供的默认值。双入口完整门禁和原 5 项测试通过。