caiyuqin 3 сар өмнө
parent
commit
23eb814184

+ 2 - 3
pages/login/settled.vue

@@ -339,7 +339,6 @@
 					phone: uni.getStorageSync('phone'),
 					ordinaryUserId: null,
 					storeExtent: null,
-					address: '',
 					longitude: '',
 					latitude: '',
 					typeLabel: null,
@@ -816,7 +815,7 @@
 							if (!isbusinessLicense) {
 								this.form.businessLicense = configService.apiUrl + '/' + this.form.businessLicense
 							}
-							this.form.address = uni.getStorageSync('address').address
+							// this.form.address = uni.getStorageSync('address').address
 							this.form.latitude = uni.getStorageSync('address').lat
 							this.form.longitude = uni.getStorageSync('address').lng
 
@@ -891,7 +890,7 @@
 					this.identityOneImg = data.identityOne
 					this.identityTwoImg = data.identityTwo
 					this.switchType(data.type)
-					if(data.qualificationList){
+					if(data.qualificationList.length){
 						let obj=data.qualificationList[0]
 						this.classItem.title=obj.categoryName
 						this.classItem.id=obj.categoryId