gjy 3 tahun lalu
induk
melakukan
d0f506aeda
1 mengubah file dengan 3 tambahan dan 1 penghapusan
  1. 3 1
      pages/user/user.vue

+ 3 - 1
pages/user/user.vue

@@ -308,7 +308,9 @@
 					}
 				})
 				if(!uni.getStorageSync('compName')){
-					this.$api.doRequest('get', '/commonUser/getComp').then(res => {
+					this.$api.doRequest('get', '/openServiceInfo/selectCommonCompany', {
+				phone: this.userInfo.phone
+			}).then(res => {
 						if (res.data.data) {
 							this.companyList=res.data.data
 							if(this.companyList.length>0){