Merge pull request #4022 from jumpserver/pr@v4@fix_cloud_params

fix: Cloud synchronization region parameters
This commit is contained in:
feng626
2024-06-11 19:10:26 +08:00
committed by GitHub

View File

@@ -121,9 +121,14 @@ 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 region = this.allRegions
.filter(item => value.includes(item.id))
.reduce((acc, region) => {
acc[region.id] = region.name
return acc
}, {})
this.$emit('input', checkedRegion)
this.$emit('input', region)
this.refreshContent()
},
updateCheckedStatus() {