refactor(接口测试): 修复未覆盖链接无法根据协议类型准确筛选并显示的缺陷

--bug=1020480 --user=王孝刚 【接口测试】github
#20341接口测试首页-未覆盖链接无法根据协议类型准确筛选并显示,很容易造成误解
https://www.tapd.cn/55049933/s/1350831
This commit is contained in:
wxg0103 2023-03-15 18:39:48 +08:00 committed by wxg0103
parent 95b207d64f
commit 4452165505
1 changed files with 3 additions and 0 deletions

View File

@ -579,6 +579,9 @@ export default {
this.condition.orders = getLastTableSortField(this.tableHeaderKey); this.condition.orders = getLastTableSortField(this.tableHeaderKey);
// tab // tab
this.condition.versionId = this.currentVersion; 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.initTable();
this.getMaintainerOptions(); this.getMaintainerOptions();
this.getVersionOptions(); this.getVersionOptions();