undefined不是一个函数(在本机中评估this.function(time.week_date)

时间:2016-09-21 14:59:57

标签: react-native

我使用map功能重复我的视图。当我点击我使用的按钮时,我尝试获得一个正确的值,但它显示错误

weeklySheet =(val)=> {         this.props.navigator.push({          名称:'时间表',          标题:'时间表',          passProps:{              开始日期:VAL          },          openMenu:this.openMenu         });     }

{this.state.UserValid.map(函数(时间){                 返回(              this.weeklySheet(time.week_date)}>                                                   {} time.week_date                                                       {} time.hours                                                   );

0 个答案:

没有答案