Browse Source

登录判断条件更改

jack 8 years ago
parent
commit
5b8d9be495
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/loginNew.js

+ 1 - 1
js/loginNew.js

203
		"success": function(data) {
203
		"success": function(data) {
204
			console.log(data)
204
			console.log(data)
205
			if(data.success) {
205
			if(data.success) {
206
				if(data.data.authentication != undefined || data.data.authentication != null){
206
				if(data.data.authentication || data.data.authentication===0){
207
					location.href = "index.html";	
207
					location.href = "index.html";	
208
				}else{
208
				}else{
209
					location.href = "fillinfo-select.html?id=" + professorId;	
209
					location.href = "fillinfo-select.html?id=" + professorId;