Browse Source

登录bug修正

jack 7 years ago
parent
commit
7468fa4302
1 changed files with 1 additions and 2 deletions
  1. 1 2
      js/loginNew.js

+ 1 - 2
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;	
294
			},
294
			},
295
			async: false,
295
			async: false,
296
			success: function(data) {
296
			success: function(data) {
297
				 console.log(data)
298
				if(data.success) {
297
				if(data.success) {
299
					if(data.data != "null" && data.data != null) {
298
					if(data.data != "null" && data.data != null) {
300
						if(data.data.auth == true) {
299
						if(data.data.auth == true) {