Skip to content

Commit

Permalink
Fix DLsite link for old works
Browse files Browse the repository at this point in the history
  • Loading branch information
mason1900 committed Nov 24, 2020
1 parent 33b16b4 commit fbaf590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/WorkDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

<!-- DLsite链接 -->
<div class="col-auto">
<q-icon name="launch" size="xs" /><a class="text-blue" :href="`https://www.dlsite.com/home/work/=/product_id/RJ${metadata.id}.html`" target="_blank">DLsite</a>
<q-icon name="launch" size="xs" /><a class="text-blue" :href="`https://www.dlsite.com/home/work/=/product_id/RJ${String(metadata.id).padStart(6,'0')}.html`" target="_blank">DLsite</a>
</div>
</div>
</div>
Expand Down

0 comments on commit fbaf590

Please sign in to comment.