使用 require 函数只给你module.exports变量,你需要将结果分配给本地的变量,以便在作用域内使用它。 var yourChoiceOfLocalName = require("./myFile"); ...
確定! 回上一頁