Explorar o código

fix:undefined为空

jianghaili hai 7 meses
pai
achega
2f287a997f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      package/jobIntention/companyImg.vue

+ 1 - 1
package/jobIntention/companyImg.vue

@@ -56,7 +56,7 @@ export default {
 		var url=this.lists[0].response.data
 		const data = {
 			companyCertification: url, //logo
-			companyId: this.companyId, //ID
+      companyId:(this.companyId === undefined || this.companyId === 'undefined') ? '' : this.companyId,      //ID
 		};
 		// 调用接口提交
 		uni.showLoading({