1,table index is nil lua
表明table的下标是nil,有问题,需更改下标
2,lua格式化
安装见:https://github.com/martin-eden/lua_code_formatter/tree/5.1-syntax_5.1
运行格式化:lua.reformat --indent=' ' handler.lua handler.lua.indent.lua
1,table index is nil lua
表明table的下标是nil,有问题,需更改下标
2,lua格式化
安装见:https://github.com/martin-eden/lua_code_formatter/tree/5.1-syntax_5.1
运行格式化:lua.reformat --indent=' ' handler.lua handler.lua.indent.lua