mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
fix(ui): 修复UI过渡流水线中的空引用异常
- 添加空值检查避免FromUiKey为null时的日志记录错误 - 确保流水线执行时参数安全处理
This commit is contained in:
parent
608251047c
commit
d653994ded
@ -110,7 +110,7 @@ public class UiTransitionPipeline
|
||||
Log.Debug(
|
||||
"Execute pipeline: Phases={0}, From={1}, To={2}, Type={3}, HandlerCount={4}",
|
||||
phases,
|
||||
@event.FromUiKey,
|
||||
@event.FromUiKey ?? "None",
|
||||
@event.ToUiKey ?? "None",
|
||||
@event.TransitionType,
|
||||
_handlers.Count
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user