mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-23 21:36:38 +08:00
优化代码
This commit is contained in:
parent
f807598bc0
commit
8913abe883
@ -91,13 +91,12 @@
|
|||||||
loadLoginOwner({
|
loadLoginOwner({
|
||||||
communityId:getCommunityId()
|
communityId:getCommunityId()
|
||||||
}).then(function(_ownerInfo) {
|
}).then(function(_ownerInfo) {
|
||||||
console.log(_ownerInfo)
|
|
||||||
if (_ownerInfo) {
|
if (_ownerInfo) {
|
||||||
let _active = _ownerInfo.state == '10000' ? 1 : 2;
|
let _active = _ownerInfo.state == '10000' ? 1 : 2;
|
||||||
_that.areaName = _ownerInfo.parentAreaName + _ownerInfo.areaName;
|
_that.areaName = _ownerInfo.parentAreaName + _ownerInfo.areaName;
|
||||||
_that.communityId = _ownerInfo.communityId;
|
_that.communityId = _ownerInfo.communityId;
|
||||||
_that.appUserName = _ownerInfo.name;
|
_that.appUserName = _ownerInfo.name;
|
||||||
_that.link = _ownerInfo.ownerTel;
|
_that.link = _ownerInfo.link;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user