feat: 调整资产详情账号列表显示字段

This commit is contained in:
“huailei000”
2022-10-14 17:42:10 +08:00
committed by huailei
parent ebaf97a495
commit 2669c8fff0
2 changed files with 12 additions and 0 deletions

View File

@@ -61,6 +61,10 @@ export default {
asset: {
type: Object,
default: null
},
columns: {
type: Array,
default: () => []
}
},
data() {
@@ -219,6 +223,9 @@ export default {
}
},
mounted() {
if (this.columns.length > 0) {
this.tableConfig.columns = this.columns
}
if (this.otherActions) {
const actionColumn = this.tableConfig.columns[this.tableConfig.columns.length - 1]
for (const item of this.otherActions) {