zhaoyang 2 年之前
父節點
當前提交
a25f07a272
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      GameClient/Assets/Game/HotUpdate/Views/ViewManager.cs

+ 4 - 0
GameClient/Assets/Game/HotUpdate/Views/ViewManager.cs

@@ -214,6 +214,10 @@ namespace GFGGame
                 }
                 if (goBackParams != null)
                 {
+                    if (!_goBackDatas.ContainsKey(name))
+                    {
+                        _goBackDatas.Add(name, new List<object[]>());
+                    }
                     _goBackDatas[name].Add(goBackParams);
                 }
                 else if (resetGobackParams)