Skip to content
This repository was archived by the owner on May 7, 2021. It is now read-only.

Commit bbebb2c

Browse files
authored
Merge pull request #188 from ProgrammingLab/kp/replace-placehold.jp
placehold.jp(no-image)が生き残ってたので殺した
2 parents bceb650 + 4bc9d4f commit bbebb2c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/EditAchievement.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,11 @@
8181
</template>
8282
<template slot="option" slot-scope="{ option }">
8383
<div class="option__desc">
84-
<img class="option-image" :src="option.icon_url || 'https://placehold.jp/000000/ffffff/150x150.png?text=No%20Image'" alt="No icon">
84+
<img
85+
class="option-image"
86+
:src="option.icon_url || require('@/assets/no_image.png')"
87+
alt="No icon"
88+
>
8589
<span class="option__title">@{{ option.name }}</span>
8690
</div>
8791
</template>

0 commit comments

Comments
 (0)