Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
chedao_stuff committed Nov 3, 2023
1 parent 1cd5f6b commit 7cc0d97
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ui/src/components/Crafting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<div class="list pair">
<ul>
<li v-for="(pair,index) in selected.pairs" :key="index">
<img src="@/assets/images/set1.png" alt="">
<img :src="getResConfigById(pair.key).icon" alt="">
<div class="num">{{getNumByRes(pair.key)}}/{{ pair.value }}</div>
<div class="slide" style="display: block">
<div class="if1">
Expand Down Expand Up @@ -321,6 +321,9 @@ export default {
}
},
getResConfigById(id){
return getResConfigById(id);
},
closeCrafting() {
playClickSound();
this.setShowCrafting(false);
Expand Down Expand Up @@ -403,7 +406,7 @@ export default {
'id': 0,
'name': 'Roast Meat',
'tiers': 0,
'icon': '/images/set1.png',
'icon': '/images/item/item_21_n.png',
})
}
Expand Down

0 comments on commit 7cc0d97

Please sign in to comment.