diff --git a/pages-home/home/active.vue b/pages-home/home/active.vue index 9ccf2d4..a33ac92 100644 --- a/pages-home/home/active.vue +++ b/pages-home/home/active.vue @@ -34,8 +34,7 @@ diff --git a/pages/myCar/myCar.vue b/pages/myCar/myCar.vue index 74cbdae..2326f8d 100644 --- a/pages/myCar/myCar.vue +++ b/pages/myCar/myCar.vue @@ -29,7 +29,6 @@ import VNavigationBar from '@/components/VNavigationBar.vue'; import request from "../../utils/request"; import config from "config"; -import {getUserInfoRequest} from "@/utils/common"; import {getToken,setJSONData} from '@/utils/auth' export default { diff --git a/pages/myReservation/myReservation.vue b/pages/myReservation/myReservation.vue index c792766..abf0866 100644 --- a/pages/myReservation/myReservation.vue +++ b/pages/myReservation/myReservation.vue @@ -21,8 +21,7 @@ import tabBarVue from '@/components/tabBar/tabBar.vue' import reservationOrderVue from '../../components/reservationOrder/reservationOrder.vue' import request from "@/utils/request"; - import {getUserInfoRequest} from "@/utils/common.js"; - import {getToken,setUserInfo} from '@/utils/auth.js' + import {getToken} from '@/utils/auth.js' export default { components: { @@ -57,15 +56,10 @@ }) }else{ console.log("已登录") - this.getUserInfos() } this.getBookingPage() }, methods: { - //获取当前登录用户信息 - async getUserInfos() { - getUserInfoRequest() - }, async getBookingPage(){ const res = await request({ url: "/userClient/repair/booking/page",