recharge 页面新增初始化

This commit is contained in:
tianfeng 2025-09-08 17:31:47 +08:00
parent fe74b008fd
commit de3a47b4c9

View File

@ -138,11 +138,11 @@
<script setup>
import MobileHeader from "../components/MobileHeader.vue";
import { onMounted, ref, computed } from "vue";
import { ref } from "vue";
import { searchUser } from "@/api/userInfo";
// import { getUserIdentity } from "@/api/wallet";
import { showError, showWarning, showInfo, showSuccess } from "@/utils/toast.js";
import { showWarning, } from "@/utils/toast.js";
import { useRouter } from "vue-router";
import {usePageInitializationWithConfig} from "@/utils/pageConfig.js";
const router = useRouter();
@ -157,6 +157,15 @@ const closedPopup = () => {
dialogshow.value = false;
};
//
usePageInitializationWithConfig('RECHARGE', {
needsBankBalance: false,
needsWorkStatistics: false,
needsTeamInfo: false,
needsRouteGuard: true,
})
const targetUserId = ref("");
const checkUserId = async () => {