Add news article archiving & Add user favs.

This commit is contained in:
yuanhau 2025-06-10 21:16:27 +08:00
parent 2527056e85
commit 25760cf0d1
4 changed files with 48 additions and 7 deletions

View file

@ -33,6 +33,13 @@ if (error === null) {
errorMsg.value = error.value;
}
onMounted(() => {
if (data.length === 0) {
eerrrroorr.value = true;
errorMsg.value = "No data returned.";
}
});
async function getImageSource(image: string) {
console.log(image);
if (!image || image === "#") {