mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-29 21:28:52 +00:00
Merge pull request #4022 from jumpserver/pr@v4@fix_cloud_params
fix: Cloud synchronization region parameters
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user