From e10f112fa075441b1799fb6c0b61f95ece70d9c7 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期二, 15 八月 2023 13:53:34 +0800 Subject: [PATCH] fix 修复 使用 localStorage 返回值为null问题 --- src/api/monitor/online/index.ts | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/api/monitor/online/index.ts b/src/api/monitor/online/index.ts index bedbde4..3d9034a 100644 --- a/src/api/monitor/online/index.ts +++ b/src/api/monitor/online/index.ts @@ -4,17 +4,17 @@ // 鏌ヨ鍦ㄧ嚎鐢ㄦ埛鍒楄〃 export function list(query: OnlineQuery): AxiosPromise<OnlineVO[]> { - return request({ - url: '/monitor/online/list', - method: 'get', - params: query - }); + return request({ + url: '/monitor/online/list', + method: 'get', + params: query + }); } // 寮洪��鐢ㄦ埛 export function forceLogout(tokenId: string) { - return request({ - url: '/monitor/online/' + tokenId, - method: 'delete' - }); + return request({ + url: '/monitor/online/' + tokenId, + method: 'delete' + }); } -- Gitblit v1.9.3