优化头像bug

This commit is contained in:
java110 2022-08-31 11:20:12 +08:00
parent 1b9cb39ff4
commit a774f7e262

View File

@ -147,13 +147,13 @@ const getCurrentCommunity = function() {
const getRooms = function() {
return new Promise((resolve, reject) => {
getOwner(function(_owner) {
if(!_owner.ownerId || _owner.ownerId == '-1'){
resolve({
data:{rooms:[]}
});
return;
}
getOwner(function(_owner) {
request({
url: constant.url.queryRoomsByOwner,
header: getHeaders(),