ysy hace 2 años
padre
commit
43b59affe3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      pages/login/login.vue

+ 1 - 1
pages/login/login.vue

@@ -177,7 +177,7 @@
 						console.log(res);
 						let data = res.data;
 						uni.setStorageSync("token", data.token);
-				   
+						uni.setStorageSync("userInfo", data);
 						uni.showToast({
 							title: "登录成功",
 							icon: "success",