diff --git a/lua_probject/base_project/Game/View/Family/FamilyEventView.lua b/lua_probject/base_project/Game/View/Family/FamilyEventView.lua index ab895787..1f41c726 100644 --- a/lua_probject/base_project/Game/View/Family/FamilyEventView.lua +++ b/lua_probject/base_project/Game/View/Family/FamilyEventView.lua @@ -296,6 +296,10 @@ function M:_evtOnFamilyReflash(...) if DataManager.SelfUser.account_id == uid then group.lev = 3 view:Reflash() + local tips = "成功加入【%s(%s)】" + tips = string.format(tips, arg[1].name, arg[1].groupId) + local win = MsgWindow.new(view._view, tips, MsgWindow.MsgMode.OnlyOk) + win:Show() return end @@ -377,11 +381,11 @@ function M:_evtOnFamilyMemberOut(...) view._close_destroy = true ViewManager.ChangeView(ViewManager.View_Lobby) end - local tips = "成员 【%s(%s)】退出了【%s(%s)】亲友圈" - tips = string.format(tips, name, uid, group.name, groupId) - local win = MsgWindow.new(view._view, tips, MsgWindow.MsgMode.OnlyOk) - win:Show() end + local tips = "成员 【%s(%s)】退出了【%s(%s)】亲友圈" + tips = string.format(tips, name, uid, group.name, groupId) + local win = MsgWindow.new(view._view, tips, MsgWindow.MsgMode.OnlyOk) + win:Show() end return M