Browse Source

优化细节,修复收购商认证

李书文 1 year ago
parent
commit
e74a2f1273
3 changed files with 2 additions and 2 deletions
  1. 0 1
      main.js
  2. 1 1
      pages/index/index.vue
  3. 1 0
      pages/personal/personal.vue

+ 0 - 1
main.js

@@ -18,7 +18,6 @@ Vue.prototype.getUser = function() {
 
 Vue.prototype.hasAuth = () => {
 	let user = uni.getStorageSync('info');
-	console.log("asd:"+user.auth);
 	if (user.auth == '0') {
 		return false
 	} else {

+ 1 - 1
pages/index/index.vue

@@ -209,7 +209,7 @@ page {
 }
 .cmain {
 	padding: 10px 15px 10px 15px;
-	margin-top: -193px;
+	margin-top: -183px;
 	position: relative;
 	.vsearch {
 		margin-bottom: 13px;

+ 1 - 0
pages/personal/personal.vue

@@ -205,6 +205,7 @@ export default {
 				success: res => {
 					this.user.auth = res.data.data.auth;
 					this.user.face=res.data.data.face;
+					uni.setStorageSync('info', this.user);
 				}
 			});
 		}