web端页面切换,a-》b,重新返回a页面 须刷新

101 阅读1分钟
 document.addEventListener('visibilitychange', function () {
     console.log('=======================================刷新')
 })`