Skip to content

Commit 1ee83ce

Browse files
committed
fix: id
1 parent 918b480 commit 1ee83ce

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/views/sca/ScaList.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,9 @@ export default class ScaList extends VueBase {
383383
if (this.searchObj.order) {
384384
params.order_field = this.searchObj.order
385385
}
386+
if (!this.projectId) {
387+
delete params.project_id
388+
}
386389
this.loadingStart()
387390
const { status, data, msg, page } = await this.services.sca.scaList(params)
388391
this.loadingDone()

0 commit comments

Comments
 (0)