From bda4f7d727c48eb1bf4e5cfa6ddf58fd3d63bb5f Mon Sep 17 00:00:00 2001 From: zhangyong Date: Mon, 6 Feb 2023 17:45:56 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=87=AA=E5=8A=A8=E5=8C=96=E5=88=97=E8=A1=A8?= =?UTF-8?q?=EF=BC=8C=E8=BF=9B=E5=85=A5=E5=9B=9E=E6=94=B6=E7=AB=99=E5=90=8E?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E6=A0=91=E6=98=BE=E7=A4=BA=E9=94=99=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1021689 --user=张勇 【接口测试】接口自动化列表,进入回收站后模块树显示错位 https://www.tapd.cn/55049933/s/1332031 --- api-test/frontend/src/api/definition-module.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-test/frontend/src/api/definition-module.js b/api-test/frontend/src/api/definition-module.js index c0d8934aa5..5683bac2b1 100644 --- a/api-test/frontend/src/api/definition-module.js +++ b/api-test/frontend/src/api/definition-module.js @@ -6,7 +6,7 @@ export function getApiModules(projectId, protocol, currentVersion) { } export function postApiModules(projectId, protocol, currentVersion, param) { - let url = '/api/module/list/' + projectId + '/' + protocol + (currentVersion ? '/' + currentVersion : ''); + let url = '/api/module/list/' + projectId + '/' + protocol; return post(url, param); } @@ -21,7 +21,7 @@ export function getApiModuleByTrash(projectId, protocol, currentVersion) { } export function postApiModuleByTrash(projectId, protocol, currentVersion, param) { - let url = '/api/module/trash/list/' + projectId + '/' + protocol + '/' + (currentVersion ? '/' + currentVersion : ''); + let url = '/api/module/trash/list/' + projectId + '/' + protocol; return post(url, param); }