mirror of
https://gitee.com/devlive-community/datacap.git
synced 2024-12-02 12:07:37 +08:00
[Metadata] [Editor] Fixed handle line breaks in a table where data is translated into a row
This commit is contained in:
parent
a6c6da2dd2
commit
2be3aa1c2e
@ -198,7 +198,6 @@ export default defineComponent({
|
||||
}));
|
||||
const configure: TableFilter = new TableFilter();
|
||||
configure.pagination = this.configure.pagination;
|
||||
console.log(this.configure.pagination)
|
||||
configure.orders = orders;
|
||||
|
||||
TableService.getData(this.id, configure)
|
||||
|
@ -14,7 +14,10 @@ const createColumnDefs = (headers: any[], types: any[]): any[] => {
|
||||
headerName: header,
|
||||
field: header,
|
||||
headerTooltip: header + ' [' + types[index] + ']',
|
||||
unSortIcon: true
|
||||
unSortIcon: true,
|
||||
cellRenderer: params => {
|
||||
return '<div style="white-space: pre-wrap;">' + params.value + '</div>';
|
||||
}
|
||||
};
|
||||
columnDefs.push(columnDef);
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user