From 05d1310a6ec27656712c0c5e5e57b3365d3faf56 Mon Sep 17 00:00:00 2001 From: tj <1378534974@qq.com> Date: 星期四, 29 五月 2025 16:54:34 +0800 Subject: [PATCH] api --- pages/home/home.vue | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/pages/home/home.vue b/pages/home/home.vue index bc09653..a4f2ad9 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -62,7 +62,6 @@ import Community from './community.vue' import { SwiperChangeEvent } from '@dcloudio/uni-app' import { useGlobal } from '@/composables/useGlobal' -import { number } from 'uview-plus/libs/function/test' const { $http, $message, $store } = useGlobal() import { FilmWorks } from '@/types/index' import { formatRelativeTime } from '@/utils/time' @@ -164,8 +163,6 @@ const communityPage = ref(1) const communitySize = 10 const communityStatus = ref('loading') - - const getCommunitys = async () => { if (communityStatus.value === 'nomore') return @@ -190,9 +187,6 @@ communityStatus.value = 'noMore' } } -const getCommunitys_bak = async () => { - communitys.value = await getFilmWorks(FilmWorksCategory.COMMUNITY, 10, 1); -} // 内容精选 const getFilmWorks = async (type: String, pageSize: Number, currentPage: Number) => { const { @@ -210,7 +204,6 @@ $message.showToast('系统异常,无法获取数据') return null; } - } // 下一页 -- Gitblit v1.9.3