UI: fix security group lists in project view (#7164)

This commit is contained in:
Wei Zhou 2023-02-08 15:10:32 +01:00 committed by GitHub
parent 66f351543a
commit 147ea06af3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -140,8 +140,9 @@ export default {
methods: {
fetchData () {
const params = {
domainid: this.$store.getters.userInfo.domainid,
account: this.$store.getters.userInfo.account,
projectid: this.$store.getters.project ? this.$store.getters.project.id : null,
domainid: this.$store.getters.project && this.$store.getters.project.id ? null : this.$store.getters.userInfo.domainid,
account: this.$store.getters.project && this.$store.getters.project.id ? null : this.$store.getters.userInfo.account,
page: this.page,
pageSize: this.pageSize
}