Skip to content

Commit a5a7b5b

Browse files
author
piexlmax
committed
change type
1 parent dce16d7 commit a5a7b5b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/views/vuln/VulnList.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -511,21 +511,21 @@ export default class VulnList extends VueBase {
511511
512512
openInNew() {
513513
if (this.vulnType === 'vuln') {
514-
const route = this.$router.resolve(
514+
const route: any = this.$router.resolve(
515515
`/vuln/vulnDetail/1/${this.rightClickItem.id}?status=` +
516516
this.searchObj.status +
517517
'&id=' +
518518
this.rightClickItem.id
519519
)
520-
window.open(route.href as any, '_blank')
520+
window.open(route.href, '_blank')
521521
} else {
522-
const route = this.$router.push(
522+
const route: any = this.$router.push(
523523
`/vuln/scaDetail/${this.rightClickItem.id}/1?status=` +
524524
this.searchObj.status +
525525
'&id=' +
526526
this.rightClickItem.id
527527
)
528-
window.open(route.href as any, '_blank')
528+
window.open(route.href, '_blank')
529529
}
530530
}
531531

0 commit comments

Comments
 (0)