工会屏蔽修改工会宣言入口

china/dev_fengTi
wangzhenxing 2023-08-04 16:24:24 +08:00
parent 49d7c26a39
commit 6d82c9d02d
1 changed files with 6 additions and 6 deletions

View File

@ -167,12 +167,12 @@ function GuildInfoPopup:BindEvent()
UIManager.OpenPanel(UIName.GuildChangePopup, GUILD_CHANGE_TYPE.NAME)
end)
Util.AddClick(this.btnEditAnnounce, function()
local pos = MyGuildManager.GetMyPositionInGuild()
if pos ~= GUILD_GRANT.MASTER and pos ~= GUILD_GRANT.ADMIN then
PopupTipPanel.ShowTip(Language[10898])
return
end
UIManager.OpenPanel(UIName.GuildChangePopup, GUILD_CHANGE_TYPE.ANNOUNCE)
-- local pos = MyGuildManager.GetMyPositionInGuild()
-- if pos ~= GUILD_GRANT.MASTER and pos ~= GUILD_GRANT.ADMIN then
-- PopupTipPanel.ShowTip(Language[10898])
-- return
-- end
-- UIManager.OpenPanel(UIName.GuildChangePopup, GUILD_CHANGE_TYPE.ANNOUNCE)
end)
Util.AddClick(this.btnInvite, function()
local pos = MyGuildManager.GetMyPositionInGuild()