From 58d7e50de3432a4772ec0749661ec1f51c9c6086 Mon Sep 17 00:00:00 2001 From: NickLuo <69481226@qq.com> Date: 星期三, 13 十二月 2023 08:55:46 +0800 Subject: [PATCH] !63 关闭动态路由tab页签时不清理组件缓存 * 动态路由页面关闭时不清理组件缓存,避免清理已打开的多个路由页面缓存 --- src/api/monitor/operlog/index.ts | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/api/monitor/operlog/index.ts b/src/api/monitor/operlog/index.ts index d7e5faa..7ac3453 100644 --- a/src/api/monitor/operlog/index.ts +++ b/src/api/monitor/operlog/index.ts @@ -4,25 +4,25 @@ // 鏌ヨ鎿嶄綔鏃ュ織鍒楄〃 export function list(query: OperLogQuery): AxiosPromise<OperLogVO[]> { - return request({ - url: '/monitor/operlog/list', - method: 'get', - params: query - }); + return request({ + url: '/monitor/operlog/list', + method: 'get', + params: query + }); } // 鍒犻櫎鎿嶄綔鏃ュ織 export function delOperlog(operId: string | number | Array<string | number>) { - return request({ - url: '/monitor/operlog/' + operId, - method: 'delete' - }); + return request({ + url: '/monitor/operlog/' + operId, + method: 'delete' + }); } // 娓呯┖鎿嶄綔鏃ュ織 export function cleanOperlog() { - return request({ - url: '/monitor/operlog/clean', - method: 'delete' - }); + return request({ + url: '/monitor/operlog/clean', + method: 'delete' + }); } -- Gitblit v1.9.3