Skip to content

Commit 4f97fec

Browse files
authored
Merge pull request #354 from LiangAhua/feature-v1.12.0
fix: id
2 parents 78bf793 + 1ee83ce commit 4f97fec

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)