Skip to content

Commit df011fc

Browse files
committed
number id for scan
1 parent bb63dcc commit df011fc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/views/project/VulListComponent.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -740,9 +740,9 @@ export default class VulListComponent extends VueBase {
740740
bind_project_id: Number(this.projectId),
741741
project_version_id: Number(this.version),
742742
keywords: this.searchObj.keywords || undefined,
743-
project_id: this.searchObj.project_str.join(',') || undefined,
744-
vul_level_id: this.searchObj.level_str.join(',') || undefined,
745-
vul_type: this.searchObj.hook_type_str.join(',') || undefined,
743+
project_id: this.searchObj.project_str || undefined,
744+
vul_level_id: this.searchObj.level_str || undefined,
745+
vul_type: this.searchObj.hook_type_str || undefined,
746746
order_type_desc: sort,
747747
}
748748
} else {

src/views/vuln/VulnList.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -814,9 +814,9 @@ export default class VulnList extends VueBase {
814814
page: this.page,
815815
page_size: this.pageSize,
816816
keywords: this.searchObj.keywords || undefined,
817-
project_id: this.searchObj.project_str.join(',') || undefined,
818-
vul_level_id: this.searchObj.level_str.join(',') || undefined,
819-
vul_type: this.searchObj.hook_type_str.join(',') || undefined,
817+
project_id: this.searchObj.project_str || undefined,
818+
vul_level_id: this.searchObj.level_str || undefined,
819+
vul_type: this.searchObj.hook_type_str || undefined,
820820
order_type_desc: sort,
821821
}
822822
} else {

0 commit comments

Comments
 (0)