Skip to content

Commit

Permalink
fix: 坐骑大全图片路径
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaviilee committed Jul 7, 2024
1 parent 709443c commit 66d7582
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/horse/HorseCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<script>
import { isPhone } from "@/utils/index";
import ItemIcon from "../common/item_icon.vue";
import { __cdn } from "@jx3box/jx3box-common/data/jx3box.json";
export default {
props: {
item: {
Expand Down Expand Up @@ -80,7 +81,7 @@ export default {
if (img?.[1] == "default") return this.__imgRoot + `homeland/${client}` + "/default/default.png";
return this.__imgRoot + `homeland/${client}` + name + ".png";
} else {
return this.__imgRoot2 + `${client}/` + item.ID + ".png";
return `${__cdn}/design/horse/${client}/${item.ID}.png`
}
},
getType(item) {
Expand Down

0 comments on commit 66d7582

Please sign in to comment.