From 75e9bafb54e27c448c6ccfad3c665d329d818fa1 Mon Sep 17 00:00:00 2001 From: li Date: Sun, 15 Mar 2026 19:43:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=89=9B=E7=89=9B=E6=93=8D=E4=BD=9C?= =?UTF-8?q?=E7=AB=AF=E5=88=B7=E6=96=B0=E5=90=8E=E6=81=A2=E5=A4=8D=E7=89=8C?= =?UTF-8?q?=E9=9D=A2=E6=98=BE=E7=A4=BA=20-=20showCardNn=E8=AF=BB=E5=8F=96?= =?UTF-8?q?=E6=AD=A3=E7=A1=AE=E5=AD=97=E6=AE=B5round.show=5Fcard?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/deal/js/deal-nn.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/static/deal/js/deal-nn.js b/public/static/deal/js/deal-nn.js index d14176a..43c2ca1 100644 --- a/public/static/deal/js/deal-nn.js +++ b/public/static/deal/js/deal-nn.js @@ -596,7 +596,8 @@ var showCard = function(data){ } var showCardNn = function(data){ if(data.round.bet_status == 2){ - if (data.card_info.length == 0) { + var card_info_arr = data.round.show_card || []; + if (card_info_arr.length == 0) { $('#show_dice').show(); } $(".begincard").fadeIn(function(){ @@ -606,7 +607,7 @@ var showCardNn = function(data){ $(".begincard .box3").animate({"top":"100%","opacity":"1"}); $(".begincard .box4").animate({"top":"100%","opacity":"1"}); }); - card_number_info = data.card_info; + card_number_info = card_info_arr; if(card_number_info.length > 0){ for(var i=0;i