Closed serenaxx closed 4 years ago
报错: nodejs.ReferenceError: location is not defined, 在component里怎么获取route上params?
服务端参考egg文档使用ctx.req.params.xxx ctx.req.xxx
我在entry.js里把ctx.req.url 传给了ActiveComponent,已解决
报错: nodejs.ReferenceError: location is not defined, 在component里怎么获取route上params?