Cannot read property 'routes' of undefined
来源:8-5 注册(5)

风_863495732
2019-02-23
老师帮我看看这个 Cannot read property ‘routes’ of undefined,导入interface接口文件后,使用app.use(users.routes()).use(users.allowedMethods()) 编译报错
写回答
1回答
-
快乐动起来呀
2019-02-25
你没有引入users模块或者users模块没有导出
00
相似问题