Explorar el Código

说明:等待测试

程志平 hace 4 años
padre
commit
345048dc56
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. 6 1
      pages/index/index.vue

+ 6 - 1
pages/index/index.vue

@@ -40,7 +40,7 @@
 		data() {
 		data() {
 			return {
 			return {
 				code: '',
 				code: '',
-				showPop: true, //弹窗
+				showPop: false, //弹窗
 				stu_number: '',
 				stu_number: '',
 				id_card: '',
 				id_card: '',
 				ceshi: 'code',
 				ceshi: 'code',
@@ -118,6 +118,7 @@
 								title: res.errMsg,
 								title: res.errMsg,
 								icon: 'none'
 								icon: 'none'
 							});
 							});
+							
 							this.showPop = true
 							this.showPop = true
 						}
 						}
 					}
 					}
@@ -160,6 +161,8 @@
 						title: res.data.mess,
 						title: res.data.mess,
 						icon: 'success'
 						icon: 'success'
 					});
 					});
+					
+					this.showPop = true
 				}
 				}
 			},
 			},
 			/**
 			/**
@@ -181,6 +184,8 @@
 				// console.log(res);
 				// console.log(res);
 				if (res.data.mess == '未查询到用户信息') {
 				if (res.data.mess == '未查询到用户信息') {
 					this.showPop = true
 					this.showPop = true
+				} else {
+					this.showPop = false
 				}
 				}
 			}
 			}
 		}
 		}