A publisher api. & modded the news.vue file to use the publisherId instead of the name. & cleaned the code using prettier.

This commit is contained in:
yuanhau 2025-06-02 00:47:23 +08:00
parent 1dd324e0ca
commit 5392974261
6 changed files with 99 additions and 36 deletions

View file

@ -241,7 +241,7 @@ const openPublisher = (text: string) => {
<TooltipProvider>
<Tooltip>
<TooltipTrigger>
<button @click="openPublisher(item.publisher)">
<button @click="openPublisher(item.publisherId)">
{{ item.publisher }}
</button>
</TooltipTrigger>