@@ -65,13 +96,3 @@ function addSelected(checked: boolean, id: number) {
-
-
diff --git a/webui/src/store/rss.ts b/webui/src/store/rss.ts
index cfba9874..8c645d3e 100644
--- a/webui/src/store/rss.ts
+++ b/webui/src/store/rss.ts
@@ -1,7 +1,7 @@
import type { RSS } from '#/rss';
export const useRSSStore = defineStore('rss', () => {
- const rss = ref
();
+ const rss = ref([]);
const selectedRSS = ref([]);
async function getAll() {
@@ -21,6 +21,7 @@ export const useRSSStore = defineStore('rss', () => {
showMessage: true,
onSuccess() {
getAll();
+ selectedRSS.value = [];
},
};
diff --git a/webui/unocss.config.ts b/webui/unocss.config.ts
index 2288715c..2719559e 100644
--- a/webui/unocss.config.ts
+++ b/webui/unocss.config.ts
@@ -61,6 +61,7 @@ export default defineConfig({
],
shortcuts: [
[/^wh-(.*)$/, ([, t]) => `w-${t} h-${t}`],
+ [/^text-limit-(\d{0,})$/, ([, n]) => `line-clamp-${n}`],
// position
{