src/views/HomeLoading/index.vue
@@ -28,6 +28,11 @@ const route = useRoute() const router=useRouter() const isLoading = ref(true) const config={ headers: { 'Content-Type': 'application/x-www-form-urlencoded' } } const getUserinfo=()=>{ ajaxPost('/patient/info/getPatientInfo','').then((re)=>{ console.log(re,'得到患者的信息getUserinfo')