Prechádzať zdrojové kódy

账号退出再进入

zhangxinlei1996 6 rokov pred
rodič
commit
7ab49b2580

+ 5 - 0
src/jfw/modules/app/src/web/templates/weixin/historypush.html

@@ -90,6 +90,10 @@ function initpage(){
 		$(window).scrollTop(scrollTop);
 		removeSessionStorage();
 	}else{
+		if((sessionStorage.getItem(sessionStorage.userId+"_searchTime")!=null)&&(ttt=="")){
+			ajaxFun(sessionStorage.getItem(sessionStorage.userId+"_searchTime"));
+			return
+		}
 		$.ajax({
 			type: 'post',
 			url: '/jyapp/front/hasPushHistory?t='+new Date().getTime(),
@@ -97,6 +101,7 @@ function initpage(){
 			async: false,
 			dataType: 'json',
 			success: function(data){
+				alert("~~")
 				pageIndex=2;
 				lasttime = data.thistime;
 				firstPage = data.data;