Jelajahi Sumber

update pc_chat

luke 6 tahun lalu
induk
melakukan
1cb6c0520e
1 mengubah file dengan 7 tambahan dan 0 penghapusan
  1. 7 0
      pc_chat/src/components/chat.vue

+ 7 - 0
pc_chat/src/components/chat.vue

@@ -1573,6 +1573,13 @@
 				// 	}
 				// }
 				this.$http.post('/index/register/autoReg', data).then(res => {
+					if(res.data.code == 0){
+						this.$message({
+							showClose: true,
+							message: res.data.msg,
+							type: 'error'
+						});
+					}
 					if (res.data.code == 1) {
 						this.user_info = res.data.data;
 						console.log(this.user_info,"用户信息")