master
罗家炜 2025-04-29 19:58:36 +08:00
parent c468b5a828
commit 391d43becf
2 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,6 @@ function M:initCards(cardList, flag)
end end
end end
end end
table.sort(self.cardList)
print(self.cardNum, self.cardSize, temp_long) print(self.cardNum, self.cardSize, temp_long)
pt(self.cardList) pt(self.cardList)

View File

@ -743,6 +743,7 @@ function M:TouchMoveEnd(context)
end end
if #send_card > 0 then if #send_card > 0 then
table.sort(send_card, tableSortNumber)
self._cardCheck:initCards(#xuan_card > 0 and xuan_card or send_card, #xuan_card > 0) self._cardCheck:initCards(#xuan_card > 0 and xuan_card or send_card, #xuan_card > 0)
self._ctr_canSendCard.selectedIndex = self._cardCheck:CheckCards() and 1 or 0 self._ctr_canSendCard.selectedIndex = self._cardCheck:CheckCards() and 1 or 0
else else