我在打开ngbdate picker时遇到错误。它没有显示月份,但正在打开
ERROR TypeError: Cannot read property 'length' of undefined
at i18nAttributesFirstPass (core.js:23309)
at Module.ɵɵi18nAttributes (core.js:23990)
at NgbToast_ng_template_2_Template (ng-bootstrap.js:1052)
at executeTemplate (core.js:7294)
at renderView (core.js:7103)
at TemplateRef.createEmbeddedView (core.js:10018)
at ViewContainerRef.createEmbeddedView (core.js:10087)
at NgIf._updateView (common.js:3469)
at NgIf.set ngIf [as ngIf] (common.js:3442)
at setInputsForProperty (core.js:8641)
defaultErrorLogger @ core.js:4197
core.js:4197 ERROR TypeError: Cannot read property 'length' of undefined
at i18nAttributesFirstPass (core.js:23309)
at Module.ɵɵi18nAttributes (core.js:23990)
at NgbDatepickerNavigation_Template (ng-bootstrap.js:3285)
at executeTemplate (core.js:7294)
at renderView (core.js:7103)
at renderComponent (core.js:8366)
at renderChildComponents (core.js:6962)
at renderView (core.js:7128)
at TemplateRef.createEmbeddedView (core.js:10018)
at ViewContainerRef.createEmbeddedView (core.js:10087)