Finish TTY

This commit is contained in:
yuanhau 2025-05-29 16:33:12 +08:00
parent 937f8ad531
commit fe965e84a5
4 changed files with 35 additions and 11 deletions

View file

@ -427,10 +427,15 @@ watchEffect((cleanupFn) => {
cleanupFn(() => clearTimeout(timmmer));
});
const openArticles = async (slug: string, titleName: string) => {
const openArticles = async (slug: string, titleName?: string) => {
openingAppViaAnApp.value = true;
passedValues.value = slug;
const titleNameFinal = titleName + " " + t("app.newsview");
var titleNameFinal = "";
if (titleName) {
titleNameFinal = titleName + " " + t("app.newsview");
} else {
titleNameFinal = t("app.newsview");
}
findAndOpenWindow("newsView", titleName);
setTimeout(() => {