在app.js中引用js文件可以吗我想在app.js中调用我其他 组件.js中的方法。网友回复~_~:const name = require('文件位置')卢霄霄:getApp()。。慎用Slience ?:这样引入你试试