Skip to content

Commit

Permalink
fix(table): column name with dot
Browse files Browse the repository at this point in the history
  • Loading branch information
ZonaHex committed Jan 24, 2024
1 parent 60e5049 commit a45519f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 0 additions & 4 deletions src/assets/style/tableList.less
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,6 @@
padding-left: 8px;
}

.scripts-search-input.arco-input-wrapper {
width: 211px;
}

.arco-space-item {
height: 28px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ a-card(:bordered="false")
:data="gridData"
:pagination="pagination"
)
|
template(#empty)
EmptyStatus
template(#columns)
Expand All @@ -36,7 +37,7 @@ a-card(:bordered="false")
template(v-else)
a-table-column(:title="column.title" :data-index="column.dataIndex")
template(#cell="{ record }")
a-typography-paragraph.cell-data(:ellipsis="{ rows: 3, expandable: true }") {{ record[column.title] }}
a-typography-paragraph.cell-data(:ellipsis="{ rows: 3, expandable: true }") {{ record[column.dataIndex] }}
template(#expand-node="{ expanded }")
| {{ expanded ? 'Collapse' : 'More' }}
</template>
Expand Down

0 comments on commit a45519f

Please sign in to comment.