战况搜索时不清空,返回是才清空

master
罗家炜 2025-09-27 17:54:17 +08:00
parent bf3ba1c5ad
commit 0c5fdfe921
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,6 @@ function M:InitView()
ViewUtil.ErrorTip(nil, '输入不能为空')
return
end
self._view:GetChild('tex_id').text = ""
qid = tonumber(text) or 0
local fgCtr = ControllerManager.GetController(NewGroupController)
fgCtr:FG_GetMemberStat(self.group_id, qid, DataManager.SelfUser.account_id,
@ -154,6 +153,7 @@ function M:InitView()
local btn_back = self._view:GetChild('btn_back')
btn_back.onClick:Set(
function()
self._view:GetChild('tex_id').text = ""
ctr_search.selectedIndex = 0
table.sort(self.record_data, function(a, b)
return a.round > b.round