【修复】修复table.mode为空时,由于只使用","去拆分index,导致误将key1+key2+key3当作一个key,而猜测mode="map"导致无法找到key的bug

main
walon 2022-01-23 21:34:31 +08:00
parent c612423590
commit 1e06690def
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ namespace Luban.Job.Cfg.Defs
private ETableMode ConvertMode(string defineFile, string tableName, string modeStr, string indexStr) private ETableMode ConvertMode(string defineFile, string tableName, string modeStr, string indexStr)
{ {
ETableMode mode; ETableMode mode;
string[] indexs = indexStr.Split(','); string[] indexs = indexStr.Split(',', '+');
switch (modeStr) switch (modeStr)
{ {
case "1": case "1":