Remove legacy component & Update validating system using localstorage.

This commit is contained in:
yuanhau 2025-05-30 15:49:59 +08:00
parent b716a0ed5c
commit c5c614c75d
7 changed files with 141 additions and 86 deletions

View file

@ -472,12 +472,6 @@ const openNewsSourcePage = async (slug: string, titleName: string) => {
passedValues.value = null;
}, 1000);
};
// Not used?
const getStaticArticleId = () => {
storeStaticArticleId.value += 1;
return storeStaticArticleId.value;
};
</script>
<template>
<div v-if="changeLangAnimation">
@ -597,7 +591,6 @@ const getStaticArticleId = () => {
@loadValue=""
@openArticles="openArticles"
@openNewsSourcePage="openNewsSourcePage"
:staticid="getStaticArticleId"
:values="passedValues"
/>
</Suspense>