diff --git a/pages/index.vue b/pages/index.vue index 0c9e903..399df25 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -222,7 +222,12 @@ export default { // Extract Bead Road (showRoad usually) // Note: In helper.php, waybill() returns { showRoad, bigRoad ... } let beadRoad = []; - if (item.ludan && item.ludan.waybill && item.ludan.waybill.showRoad) { + if (item.game_id == 4 || item.game_id == 5) { + // 牛牛/三卡: ludan.waybill 直接就是数组 + if (item.ludan && Array.isArray(item.ludan.waybill)) { + beadRoad = item.ludan.waybill; + } + } else if (item.ludan && item.ludan.waybill && item.ludan.waybill.showRoad) { beadRoad = item.ludan.waybill.showRoad; }