apply 页面初始化处理

This commit is contained in:
tianfeng 2025-09-05 22:02:20 +08:00
parent e54a2e294c
commit 19d679c468

View File

@ -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()
}
})
</script>
<style scoped>