iter: d16 dataTable 落地列宽 width
This commit is contained in:
+3
-3
@@ -386,9 +386,9 @@ const content = h(
|
||||
selectable: true,
|
||||
loading: tableLoading,
|
||||
columns: [
|
||||
{ key: 'name', header: '姓名', sortable: true },
|
||||
{ key: 'age', header: '年龄', sortable: true, align: 'right', format: (v) => `${v} 岁` },
|
||||
{ key: 'city', header: '城市', align: 'center' },
|
||||
{ key: 'name', header: '姓名', sortable: true, width: 160 },
|
||||
{ key: 'age', header: '年龄', sortable: true, align: 'right', width: 100, format: (v) => `${v} 岁` },
|
||||
{ key: 'city', header: '城市', align: 'center', width: 'flex' },
|
||||
],
|
||||
pageSize: 5,
|
||||
}), h('div', { class: 'row' }, switchButton({ label: '加载态', checked: tableLoading }))),
|
||||
|
||||
Reference in New Issue
Block a user