sessionStorage第一次进入页面显示弹窗

mac2022-06-30  21

 $(function(){

  var not_first_view_page = sessionStorage.getItem('not_first_view_page');

  if(!not_first_view_page){

    popup.show();

    sessionStorage.setItem('not_first_view_page',true);

  }

});

转载于:https://www.cnblogs.com/ccMelissa/p/6085004.html

相关资源:JAVA上百实例源码以及开源项目
最新回复(0)