diff --git a/src/components/Table/CardTable/index.vue b/src/components/Table/CardTable/index.vue index 7c65936a2..ebff0ca0a 100644 --- a/src/components/Table/CardTable/index.vue +++ b/src/components/Table/CardTable/index.vue @@ -8,7 +8,7 @@ /> - + diff --git a/src/views/assets/Cloud/Account/components/RegionPanel.vue b/src/views/assets/Cloud/Account/components/RegionPanel.vue index d4d9b962d..88dbf4b55 100644 --- a/src/views/assets/Cloud/Account/components/RegionPanel.vue +++ b/src/views/assets/Cloud/Account/components/RegionPanel.vue @@ -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() { diff --git a/src/views/workbench/myhome/components/Session.vue b/src/views/workbench/myhome/components/Session.vue index 35c26f7bd..00c8f5488 100644 --- a/src/views/workbench/myhome/components/Session.vue +++ b/src/views/workbench/myhome/components/Session.vue @@ -36,16 +36,22 @@ export default { } }, asset: { + width: 240, label: this.$t('Asset') }, + account: { + width: 180 + }, command_amount: { align: 'center', label: this.$t('Command') }, remote_addr: { + width: 180, label: this.$t('RemoteAddr') }, protocol: { + width: 120, label: this.$t('Protocol'), el: { disabled: false