mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-23 21:36:38 +08:00
优化头像bug
This commit is contained in:
parent
1b9cb39ff4
commit
a774f7e262
@ -147,13 +147,13 @@ const getCurrentCommunity = function() {
|
|||||||
const getRooms = function() {
|
const getRooms = function() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
|
|
||||||
if(!_owner.ownerId || _owner.ownerId == '-1'){
|
|
||||||
resolve({
|
|
||||||
data:{rooms:[]}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
getOwner(function(_owner) {
|
getOwner(function(_owner) {
|
||||||
|
if(!_owner.ownerId || _owner.ownerId == '-1'){
|
||||||
|
resolve({
|
||||||
|
data:{rooms:[]}
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
request({
|
request({
|
||||||
url: constant.url.queryRoomsByOwner,
|
url: constant.url.queryRoomsByOwner,
|
||||||
header: getHeaders(),
|
header: getHeaders(),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user