From dccf1d0bdeebe29ef3025138d3dedf569660e014 Mon Sep 17 00:00:00 2001 From: Vinjor Date: Mon, 14 Oct 2024 18:36:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E4=BF=A1=E6=81=AF=E5=8F=8A?= =?UTF-8?q?=E6=8E=88=E6=9D=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages-home/home/active.vue | 32 +++------------------------ pages-order/my/evaluate.vue | 2 +- pages-shop/shopDetail/shopDetail.vue | 1 + pages/my/cardRoll.vue | 6 +++++ pages/my/my.vue | 20 +---------------- pages/myCar/myCar.vue | 1 - pages/myReservation/myReservation.vue | 8 +------ 7 files changed, 13 insertions(+), 57 deletions(-) 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",