From ba338259a7b75ec5c4187c6da0efcc631ee2ab35 Mon Sep 17 00:00:00 2001 From: orzi <1063614727@qq.com> Date: Sat, 14 Mar 2026 22:10:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BD=91=E7=BB=9C=E8=AF=B7?= =?UTF-8?q?=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/utils/request.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/web/src/utils/request.ts b/web/src/utils/request.ts index 0239bf8e..ac25c6d7 100644 --- a/web/src/utils/request.ts +++ b/web/src/utils/request.ts @@ -78,14 +78,6 @@ export function createApi(): Readonly { // 如果最后一条路径是 _self 则代表不需要它,直接去掉它 if (_path[_path.length - 1] === "_self") _path.pop(); - if (method === "get") { - return request({ - method, - url: _path.join('/'), - params: args[0], - }); - } - return request({ method, url: _path.join('/'),