未验证 提交 b4b75e31 编写于 作者: L lin5 提交者: GitHub

数据批量保存报空

上级 1ba2e39b
......@@ -13,7 +13,7 @@ namespace Hotfix
{
DBCacheComponent dbCacheComponent = Game.Scene.GetComponent<DBCacheComponent>();
if (message.CollectionName == "")
if (string.IsNullOrEmpty(message.CollectionName))
{
message.CollectionName = message.Disposers[0].GetType().Name;
}
......@@ -36,4 +36,4 @@ namespace Hotfix
}
}
}
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册