首先 require 查找 package.preload[modname] 。如果这里有一个值,这个值(必须是一个函数)就是那个加载器。否则 require 使用Lua 加载器去查找 ...
確定! 回上一頁