Explorar o código

增加选项值

dos hai 2 meses
pai
achega
847bb0fa31
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      game-ui/src/views/business/lottery/index.vue

+ 2 - 2
game-ui/src/views/business/lottery/index.vue

@@ -366,10 +366,10 @@ export default {
         if(response.data){
           for(var i in response.data){
             var item = response.data[i];
-            that.gameItemMap[item.itemLocation.toString() + "_" + item.gameId] = item.itemName;
+            that.gameItemMap[item.itemLocation.toString() + "_" + item.gameId] = item.itemName+ "("+(parseInt(item.itemLocation) + 1)+")";
             that.gameItemList.push({
               value:item.itemLocation+"_"+item.gameId,
-              label:item.itemName,
+              label:item.itemName + "("+(parseInt(item.itemLocation) + 1)+")",
               gameId:item.gameId
             })
           }