From 22cc8ce22157a32bfcd4ee14d824769c6e318cec Mon Sep 17 00:00:00 2001 From: p-honggang.li <p-honggang.li@pcitc.com> Date: 星期一, 08 九月 2025 23:30:57 +0800 Subject: [PATCH] 修改取消订单列表展示的问题 --- src/api/userInfo.ts | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/userInfo.ts b/src/api/userInfo.ts index 6e85b61..7a2f1f3 100644 --- a/src/api/userInfo.ts +++ b/src/api/userInfo.ts @@ -1,5 +1,4 @@ import createAxios from '@/utils/axios' -let url = '/test' // 淇敼瀵嗙爜 export function updatePassw(data: object = {}): ApiPromise { @@ -15,7 +14,8 @@ // 鏌ョ湅涓汉淇℃伅 export function queryUserDetail(data: object = {}): ApiPromise { return createAxios({ - url: `${url}/admin/common/userDetail`, + baseURL: '/api', + url: `/admin/common/userDetail`, headers: { 'Content-Type': 'application/json;charset=UTF-8' }, -- Gitblit v1.8.0