local index = 1 local function outer(arg) local function iner() index = index + 1 local tb = {"a","b"} outer(tb) end if index < 10 then printInfo("index = %s", index) iner() else return end dump(arg, "arg") end outer("test") 相关文章: 2021-11-01 2021-07-04 2021-10-18 2022-02-18 2021-10-12 2022-01-22 2021-12-13 2021-08-17