有没有办法在相同 window 中使用锚选项卡刷新页面

Is there a way to refresh the page with anchor tab in same window

有没有办法在同一个 window 中刷新具有锚选项卡的页面? 在新 window 中打开相同 link 时,正在加载完整页面,而在相同 window 中仅加载 linked div。

We can reload the page in same window using below jquery function in method select() in your javascript.

select(){
$(window).on('hashchange',function(){ 
    window.location.reload(true); 
});
return true;//It must return true
}

Second option: We can use aurelia event-aggregator to refresh other divs within same page