From 407d9ec667a0c93fab2a0fe9cc8b740dcbccf556 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B4=AA=E6=B4=AA?= <2498601771@qq.com> Date: Thu, 26 Oct 2023 11:36:13 +0800 Subject: [PATCH] =?UTF-8?q?CN-1412=20fix:=20=E4=BF=AE=E5=A4=8D=E6=96=B0?= =?UTF-8?q?=E5=A2=9E/=E7=BC=96=E8=BE=91policy=E9=A1=B5library=E7=9A=84?= =?UTF-8?q?=E5=85=A5=E5=8F=82=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/table/detection/RuleDefinition.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/table/detection/RuleDefinition.vue b/src/components/table/detection/RuleDefinition.vue index ab5e30e9..af13d710 100644 --- a/src/components/table/detection/RuleDefinition.vue +++ b/src/components/table/detection/RuleDefinition.vue @@ -378,7 +378,7 @@ export default { this.metricList = detectionUnitList.metricList || [] if (this.mySettingObj.ruleType === this.detectionRuleType.indicator) { - axios.get(api.knowledgeBaseList, { params: this.searchLabel, pageSize: -1 }).then(response => { + axios.get(api.knowledgeBaseList, { params: { pageSize: -1 } }).then(response => { if (response.status === 200) { this.libraryList = _.get(response, 'data.data.list', []).filter(l => l.isBuiltIn === 0) } else {