当我想要进行Firebase数据库上传时,出现了错误:
UploadImagesComponent.html:38 ERROR TypeError: __WEBPACK_IMPORTED_MODULE_3_firebase_app__.storage is not a function
at UploadImagesService.webpackJsonp.505.UploadImagesService.uploadImagesToFirebase (upload-images.service.ts:35)
at UploadImagesComponent.webpackJsonp.510.UploadImagesComponent.uploadImagesToFirebase (upload-images.component.ts:28)
at Object.eval [as handleEvent] (UploadImagesComponent.html:38)
at handleEvent (core.es5.js:12022)
at callWithDebugContext (core.es5.js:13486)
at Object.debugHandleEvent [as handleEvent] (core.es5.js:13074)
at dispatchEvent (core.es5.js:8615)
at core.es5.js:9226
at HTMLButtonElement.<anonymous> (platform-browser.es5.js:2651)
at ZoneDelegate.invokeTask (zone.js:367)
at Object.onInvokeTask (core.es5.js:3881)
at ZoneDelegate.invokeTask (zone.js:366)
at Zone.runTask (zone.js:166)
at HTMLButtonElement.ZoneTask.invoke (zone.js:420)
有人知道发生了什么事吗?