Ionic Error v.context.$implicit is undefined

孤者浪人 提交于 2019-12-02 01:15:51
Benny Boo

i can't really help if i don't see you're TS code. The same problem occured to me and my mistake was to try to insert a new data in an array like result[i] = data[i] and not like result.push(data[i]) which is actually correct. Hope it helps !

Most of the time, context.$implicit refer in the template to a variable created with a "let" (like "let time of item.info").

The rest of the error ("is undefined") is the classic javascript error message for trying to use a undefined value like an object.

In your case, it probably happen when the variable thisDay is not one of the key of timeinfo. checking the exact line of the error will probably help finding the error in the html.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!