From 19d679c46838d9dde99ede6b9c5354d478f9c786 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Fri, 5 Sep 2025 22:02:20 +0800 Subject: [PATCH] =?UTF-8?q?apply=20=E9=A1=B5=E9=9D=A2=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ApplyView.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/views/ApplyView.vue b/src/views/ApplyView.vue index 1020ab7..cbc88b6 100644 --- a/src/views/ApplyView.vue +++ b/src/views/ApplyView.vue @@ -98,6 +98,7 @@ import MobileHeader from '../components/MobileHeader.vue' import { sendTeamApplyJoin, getWaitApplyRecord, cancelApply, searchTeamByAccount } from '../api/wallet.js' import {showError, showWarning, showInfo, showSuccess} from "@/utils/toast.js"; import { ApiError } from '@/utils/http.js'; +import {usePageInitializationWithConfig} from "@/utils/pageConfig.js"; const router = useRouter() @@ -284,9 +285,16 @@ const getStatusClass = (status) => { } // 页面加载时获取申请记录 -onMounted(() => { - fetchApplyRecords() +usePageInitializationWithConfig('APPLY', { + needsBankBalance: false, + needsWorkStatistics: false, + needsTeamInfo: false, + needsRouteGuard: true, + onDataLoaded: () => { + fetchApplyRecords() + } }) +