From 91013f710e55d838fbd87f9ad1e804a2eb40718f Mon Sep 17 00:00:00 2001 From: ccbikai Date: Sun, 2 Jun 2024 20:12:42 +0800 Subject: [PATCH 1/3] style: disable vue/no-v-html rule in eslint.config --- eslint.config.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/eslint.config.mjs b/eslint.config.mjs index 50d156f..585011a 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -12,6 +12,7 @@ export default withNuxt( '@typescript-eslint/ban-ts-comment': 'off', 'no-console': 'off', 'node/prefer-global/process': 'off', + 'vue/no-v-html': 'off', }, }, ) From e4e6369f5c721eac1fd860d38e557c156744c6e0 Mon Sep 17 00:00:00 2001 From: ccbikai Date: Sun, 2 Jun 2024 20:25:52 +0800 Subject: [PATCH 2/3] chore: update package.json version to 0.1.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 799de72..0cd6fbb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "sink", "type": "module", - "version": "0.1.0", + "version": "0.1.1", "private": true, "packageManager": "pnpm@9.1.2", "scripts": { From dda19697d6f036c2c6e8a053cd987fb50069fb69 Mon Sep 17 00:00:00 2001 From: QuentinHsu Date: Sun, 2 Jun 2024 22:18:18 +0800 Subject: [PATCH 3/3] fix: the links data loading on the mobile page did not trigger --- components/dashboard/links/Index.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/components/dashboard/links/Index.vue b/components/dashboard/links/Index.vue index a1c076a..a9f5b5a 100644 --- a/components/dashboard/links/Index.vue +++ b/components/dashboard/links/Index.vue @@ -22,7 +22,7 @@ async function getLinks() { const { isLoading } = useInfiniteScroll( document, getLinks, - { distance: 10, interval: 1000, canLoadMore: () => !listComplete }, + { distance: 150, interval: 1000, canLoadMore: () => !listComplete }, ) function updateLinkList(link, type) { @@ -59,5 +59,11 @@ function updateLinkList(link, type) { > +
+ No more +