Browse Source

Merge branch 'dev' of http://121.42.53.174:3000/jiapeng/portal-front.git into dev

happy 8 years ago
parent
commit
3f9daf05e4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      js/index.js

+ 2 - 2
js/index.js

@ -83,7 +83,7 @@ $(function(){
83 83
	})
84 84
	/*发布需求*/
85 85
	$("#postNow").click(function(){
86
		if(userid=="null"){
86
		if(userid=="null"||userid==undefined){
87 87
			location.href="login.html";
88 88
		}
89 89
		$.ajax({
@ -113,7 +113,7 @@ $(function(){
113 113
	})
114 114
	/*我是专家*/
115 115
	$("#JoinKeXiu").click(function(){
116
		if(userid=="null"){
116
		if(userid=="null"||userid==undefined){
117 117
			location.href="login.html";
118 118
		}
119 119
		$.ajax({