我正在尝试使用Expo Cli为React Native设置环境。
但是,我收到以下错误:
function dif_day(data) { val = data[0] var day= []; day.push(val.DAY_DIFF); if (day[0] >= 0) { $('#span_day_diff').empty().append("+ " + day.join()); $('#span_day_diff').style.color = 'green'; } else { $('#span_day_diff').empty().append(day.join()); $('#span_day_diff').style.color = 'red'; } };