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

@ -464,7 +464,7 @@ const openArticles = async (slug: string, titleName?: string) => {
const openNewsSourcePage = async (slug: string) => {
openingAppViaAnApp.value = true;
passedValues.value = slug;
const titleNameFinal = slug ? "關於" + slug : t("app.aboutNewsOrg");
const titleNameFinal = slug ? "關於" + slug : t("app.aboutNewsOrg");
findAndOpenWindow("aboutNewsOrg", titleNameFinal);
setTimeout(() => {