如果 __newindex 指向的方法中,没有调用 rawset 方法,传入的键值对(key/value)就不会添加到myTable中。 测试代码:. local meta = { __newindex = ...
確定! 回上一頁