Skip to content

Commit

Permalink
fix: 远程应用账号列表排版问题
Browse files Browse the repository at this point in the history
  • Loading branch information
w940853815 committed Feb 27, 2024
1 parent 9c9dcca commit b68c193
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
9 changes: 8 additions & 1 deletion src/views/assets/Asset/AssetDetail/Account.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ export default {
url: {
type: String,
default: ''
},
extraQuickActions: {
type: Array,
default: () => {
return []
}
}
},
data() {
Expand Down Expand Up @@ -83,7 +89,8 @@ export default {
})
}
})
}
},
...this.extraQuickActions
]
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,27 +1,24 @@
<template>
<el-row :gutter="20">
<el-col :md="16" :sm="24">
<Account :columns-meta="columnsMeta" :object.sync="object" />
</el-col>
<el-col :md="8" :sm="24">
<QuickActions :actions="quickActions" type="primary" />
<el-col :md="24" :sm="24">
<Account :columns-meta="columnsMeta" :object.sync="object" :extra-quick-actions="quickActions" />
</el-col>
</el-row>
</template>

<script>
import Account from '@/views/assets/Asset/AssetDetail/Account'
import { QuickActions } from '@/components'
export default {
name: 'Accounts',
components: {
QuickActions, Account
Account
},
props: {
object: {
type: Object,
default: () => {}
default: () => {
}
}
},
data() {
Expand Down

0 comments on commit b68c193

Please sign in to comment.