wkw пре 7 месеци
родитељ
комит
ea3a9a90f6
2 измењених фајлова са 4 додато и 3 уклоњено
  1. 1 1
      package/records/records.vue
  2. 3 2
      pages/my/index.vue

+ 1 - 1
package/records/records.vue

@@ -94,7 +94,7 @@
 			  <view class="gwList-box-item-box-label flex align-center flex-wrap">
 			    <view
 			      class="gw-tag"
-			      v-for="(ite, ind) in item.postPush&&item.postPush.positionWelfare.split(',')||[]"
+			      v-for="(ite, ind) in item.postPush&&item.postPush.positionWelfare&&item.postPush.positionWelfare.split(',')||[]"
 			      :key="ind"
 			      >{{ ite }}</view
 			    >

+ 3 - 2
pages/my/index.vue

@@ -373,7 +373,7 @@
 									</view>
 								
 									<view v-if="XCXIsSelect != '否'" class="info-box-header-r-bj flex align-center">
-										{{companyInfo.companyAllName||"编辑企业信息"}}
+										{{companyInfo.companyAllName || "编辑企业信息"}}
 										<image src="@/static/images/jobApplicant/edit-user.svg" mode="scaleToFill"/>
 									</view>
 								</view>
@@ -831,7 +831,6 @@
 			};
 		},
 		onLoad(e) {
-			console.log(e);
 			this.XCXIsSelect = this.$queue.getData("XCXIsSelect");
 			var that=this
 			uni.$on('changeRole',function(res){
@@ -840,6 +839,7 @@
 				that.getUserInfo();
 				that.getUserData();
 				}else{
+					
 					 that.getCompany();
 				}
 				that.$queue.changeTabbar(res.userType)
@@ -858,6 +858,7 @@
 				that.userName = "登录";
 				that.avatar = "../../static/logo.png";
 				that.isVip = false;
+				that.companyInfo = '';
 			})
 		},
 		onUnload(){