这是我的代码:
initHomeFeed: function(options) {
$.get('/feed_items', {}, function(data) {
console.log("Y U NO COME HERE")
console.log("hello");
Feed.feed_items_html = data.feed_items_html_array;
Feed.pseudo_feed_items_html = data.pseudo_feed_items_html_array
console.log(ordered_arr);
}, "json");
console.log("makehtml was called by inithomefeed")
Feed.makeHomeHTML();
“makehtml was called by inithomefeed”会打印到控制台,makeHomeHTML 函数中的控制台日志也是如此。但是,get 函数内的任何控制台日志都没有显示。我怎样才能使它不跳过get功能?