mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-24 05:24:23 +00:00
feat: enhance DraggableWindow component with additional emit events for window control; update hotnews component to handle pending state; modify home link for improved navigation
This commit is contained in:
parent
71aac20c36
commit
57aa0aba18
4 changed files with 17 additions and 7 deletions
|
@ -3,13 +3,15 @@ import DraggableWindow from "~/components/DraggableWindow.vue";
|
|||
const ffeed = ref();
|
||||
const ass = ["健康2.0", "中天", "TVBS", "香港01", "ETtoday"];
|
||||
import Button from "~/components/ui/button/Button.vue";
|
||||
const pending = ref();
|
||||
|
||||
try {
|
||||
const { data } = await useFetch("/api/rss/google");
|
||||
const { data, pending: isPending } = await useFetch("/api/rss/google");
|
||||
ffeed.value = data.value;
|
||||
} catch (error) {
|
||||
console.error("Error:", error);
|
||||
}
|
||||
|
||||
</script>
|
||||
<template>
|
||||
<div
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue