setmetatable (table,metatable) ... 把tb设置成ta的元表并返回ta setmetatable(ta,tb) --注意由于tb中有__metatable属性,所以会保护ta的元表 --接下来对ta的元表做的 ...
確定! 回上一頁