|
@@ -154,6 +154,12 @@ function wxLogin(type) {
|
|
|
function getCompanyDataByPhone() {
|
|
|
return new Promise((resolve, reject) => {
|
|
|
let userPhone = wx.getStorageSync('userPhone');
|
|
|
+ let userInfo = store.state.user.userInfo;
|
|
|
+
|
|
|
+ console.log("userInfo==",userInfo)
|
|
|
+ if (!userPhone) {
|
|
|
+ userPhone = userInfo.phone
|
|
|
+ }
|
|
|
let params = {
|
|
|
phone: userPhone
|
|
|
}
|