无法进入亲友圈可能报错地方提示错误,并且关闭等待页面

master
罗家炜 2025-06-23 18:53:11 +08:00
parent 095b2079fe
commit 41cc0821f7
3 changed files with 57 additions and 49 deletions

View File

@ -16,7 +16,11 @@ end
--获取圈列表 --获取圈列表
function M:FG_GroupList(callback) function M:FG_GroupList(callback)
local _client = ControllerManager.GroupClient local _client = ControllerManager.GroupClient
printlog("aaaaaaaaaaaaaaaaawwwwwwwwwwwwww") if not _client or not _client.send then
ViewUtil.ShowBannerOnScreenCenter("无法进入亲友圈服务")
ViewUtil.CloseModalWait()
end
printlog("aaaaaaaaaaaaaaaaawwwwwwwwwwwwww", _client)
-- pt(_client) -- pt(_client)
_client:send(Protocol.WEB_FG_GROUP_LIST, nil, function(res) _client:send(Protocol.WEB_FG_GROUP_LIST, nil, function(res)
printlog("aaaaaaaaaaaaaaaaawwwwwwwwwwwwww1111111111111") printlog("aaaaaaaaaaaaaaaaawwwwwwwwwwwwww1111111111111")

View File

@ -147,7 +147,6 @@ function M:DEnterGroup()
end end
end end
local function SortGroups(a, b) local function SortGroups(a, b)
local sort_a = 0 local sort_a = 0
local sort_b = 0 local sort_b = 0
@ -278,6 +277,8 @@ function M:Show(fg_id,callback)
local fgCtr1 = ControllerManager.GetController(NewGroupController) local fgCtr1 = ControllerManager.GetController(NewGroupController)
fgCtr1:FG_GroupList(function(res) fgCtr1:FG_GroupList(function(res)
if self._is_destroy then if self._is_destroy then
ViewUtil.ShowBannerOnScreenCenter("亲友圈热更问题有问题")
ViewUtil.CloseModalWait()
return return
end end
if res.ReturnCode == 0 then if res.ReturnCode == 0 then
@ -294,7 +295,6 @@ function M:Show(fg_id,callback)
callback(-1) callback(-1)
end end
end end
end) end)
end end

View File

@ -1,5 +1,5 @@
{ {
"libview.firstColumnWidth": 297, "libview.firstColumnWidth": 522,
"expanded_nodes": [ "expanded_nodes": [
"27vd145b", "27vd145b",
"/", "/",
@ -9,8 +9,14 @@
"libview.iconScale": 0, "libview.iconScale": 0,
"doc.openedDocs": [ "doc.openedDocs": [
"ui://2d9xdj6zfn7fao", "ui://2d9xdj6zfn7fao",
"ui://m7iejg4610snh5j",
"ui://m7iejg46jiu8hef",
"ui://m7iejg46kwi0hma", "ui://m7iejg46kwi0hma",
"ui://v6yvqp7wf55qwa", "ui://v6yvqp7wf55qwa",
"ui://v6yvqp7wf55qw5",
"ui://v6yvqp7wf55qvx",
"ui://m7iejg46kwi0hm5",
"ui://v6yvqp7wf55qw4",
"ui://2d9xdj6zm16m7dqt", "ui://2d9xdj6zm16m7dqt",
"ui://ppu1wv76j4mf9j", "ui://ppu1wv76j4mf9j",
"ui://ppu1wv76j4mf9k", "ui://ppu1wv76j4mf9k",
@ -22,15 +28,13 @@
"test.device": "720p Phone", "test.device": "720p Phone",
"canvasColor": 10066329, "canvasColor": 10066329,
"auxline2": true, "auxline2": true,
"doc.activeDoc": "ui://v6yvqp7wf55qwa", "doc.activeDoc": "ui://2d9xdj6zfn7fao",
"libview.twoColumn": false, "libview.twoColumn": false,
"libview.expandedNodes": [ "libview.expandedNodes": [
"v6yvqp7w", "2d9xdj6z",
"/", "/",
"v6yvqp7w", "m7iejg46",
"/component/", "/"
"v6yvqp7w",
"/component/Main/"
], ],
"auxline1": true, "auxline1": true,
"snapToGrid": true, "snapToGrid": true,