mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-29 21:28:52 +00:00
fix: Cloud synchronization region parameters
This commit is contained in:
@@ -121,7 +121,12 @@ export default {
|
||||
this.checkAll = checkedCount === this.allRegions.length
|
||||
this.isIndeterminate = checkedCount > 0 && checkedCount < this.allRegions.length
|
||||
|
||||
const checkedRegion = this.allRegions.filter(item => value.includes(item.id))
|
||||
const checkedRegion = this.allRegions
|
||||
.filter(item => value.includes(item.id))
|
||||
.reduce((acc, region) => {
|
||||
acc[region.id] = region.name
|
||||
return acc
|
||||
}, {})
|
||||
|
||||
this.$emit('input', checkedRegion)
|
||||
this.refreshContent()
|
||||
|
||||
Reference in New Issue
Block a user