From 4452165505a98efc682339eba8e4b4ce64d14a80 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Wed, 15 Mar 2023 18:39:48 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):?= =?UTF-8?q?=20=E4=BF=AE=E5=A4=8D=E6=9C=AA=E8=A6=86=E7=9B=96=E9=93=BE?= =?UTF-8?q?=E6=8E=A5=E6=97=A0=E6=B3=95=E6=A0=B9=E6=8D=AE=E5=8D=8F=E8=AE=AE?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E5=87=86=E7=A1=AE=E7=AD=9B=E9=80=89=E5=B9=B6?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1020480 --user=王孝刚 【接口测试】github #20341接口测试首页-未覆盖链接无法根据协议类型准确筛选并显示,很容易造成误解 https://www.tapd.cn/55049933/s/1350831 --- .../src/business/definition/components/list/ApiList.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api-test/frontend/src/business/definition/components/list/ApiList.vue b/api-test/frontend/src/business/definition/components/list/ApiList.vue index bc00e27b95..c7fb702740 100644 --- a/api-test/frontend/src/business/definition/components/list/ApiList.vue +++ b/api-test/frontend/src/business/definition/components/list/ApiList.vue @@ -579,6 +579,9 @@ export default { this.condition.orders = getLastTableSortField(this.tableHeaderKey); // 切换tab之后版本查询 this.condition.versionId = this.currentVersion; + if (this.$route && this.$route.params && this.$route.params.type) { + this.condition.protocol = this.$route.params.type; + } this.initTable(); this.getMaintainerOptions(); this.getVersionOptions();