angular - TypeError:record.factory 不是 Ionic 中的函数
解决方案
你需要评论
@Injectable()
在您的路由或注入其他
例子
// @Injectable() comment this code
@NgModule({
imports: [RouterModule.forRoot(routes)],
exports: [RouterModule],
providers: []
})
推荐阅读
- c++ - QT ReplaceChild 方法
- actions-on-google - Dialogflow - 响应 Actions on Google 事件
- reactjs - React JS - 如何在对话框的 PaperProps 中添加样式(material-ui)
- c# - TcpListener 没有从 SmtpClient 接收到数据
- ionic3 - 在 Ionic 3 中使用 HttpClient 下载文件
- c - 如何通过C编程实时获取本地监听端口?
- google-sheets - 如何创建一个运行总计公式,当新行添加到我的电子表格时自动扩展
- azure - 是否可以在 Azure 仪表板中嵌入 PowerBi 报告
- sql - 多列连接成一列 SQL
- c# - 在 C# 中使用套接字