提交 5f2ae8e1 编写于 作者: T tanghai

配置的参数需要trim一下

上级 d65d2fc8
......@@ -27,6 +27,11 @@ namespace Modules.BehaviorTreeModule
return new List<string>();
}
var s = (string) value;
s = s.Trim();
if (s == "")
{
return new List<string>();
}
string[] ss = s.Split(',');
for (int i = 0; i < ss.Length; ++i)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册