] 2 [] 3 我有一个React Native应用,我想显示从api获取的文本字符串,但是当我处于调试模式时,我能够看到该字符串,但是当我关闭调试模式时,我却看不到该字符串。 >
<Text style={{ ...styles.oswaldBold12Black }}>
{props[mode] &&
props[mode][monthIndex] &&
props[mode][monthIndex]["week"] &&
props[mode][monthIndex]["week"][selectedWeek - 1] &&
props[mode][monthIndex]["week"][selectedWeek - 1]
.dayObj &&
props[mode][monthIndex]["week"][selectedWeek - 1]
.dayObj[value] &&
props[mode][monthIndex]["week"][selectedWeek - 1]
.dayObj[value]["weekDay"] &&
props[mode][monthIndex]["week"][selectedWeek - 1]
.dayObj[value]["weekDay"].substring(0,3)}
</Text>