From 200bca25088510244996da78bafed54c7ef63490 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E5=AE=B6=E7=82=9C?= <2029049582@qq.com> Date: Thu, 7 Aug 2025 17:33:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A2=AB=E5=AE=A1=E6=89=B9=E8=BF=9B=E5=85=A5?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Game/View/Family/FamilyEventView.lua | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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