xxdezh 8 miesięcy temu
rodzic
commit
4a5d0ba77a
1 zmienionych plików z 7 dodań i 5 usunięć
  1. 7 5
      pages/my/index.vue

+ 7 - 5
pages/my/index.vue

@@ -1421,13 +1421,14 @@
 									//     that.getUserData();
 									//   }
 									// });
+									this.userType = 1
 									uni.setStorageSync('userType', 1)
 
 									//修改当前用户身份
-									var res = that.updateUserResumes(1)
+									//var res = that.updateUserResumes(1)
 
-									// that.getUserInfo();
-									// that.getUserData();
+									that.getUserInfo();
+									that.getUserData();
 
 
 								}
@@ -1442,9 +1443,10 @@
 							confirmColor: "#016BF6",
 							complete(ret) {
 								if (ret.confirm) {
+									this.userType = 2
 									uni.setStorageSync('userType', 2)
-									var res = that.updateUserResumes(2)
-									// that.getCompany();
+									//var res = that.updateUserResumes(2)
+									 that.getCompany();
 
 								}
 							},