我的桌子上的标题有一个奇怪的问题,有些标题与顶部对齐,但其他标题不对齐,我尝试了所有方法甚至对齐:“左”,但没有成功,这是我的问题的图片
我的代码是这样的:
*桌子:
<v-data-table :headers="header_data" :items="finalData" :search="search" u/click:row="showAlert">
<template v-slot:item.aum="{ item }">
{{formatNumber(item.aum)}}
</template>
</v-data-table>
Run Code Online (Sandbox Code Playgroud)
和标题的数据:
header_data: [
{ text: 'Name', value: 'fund', align: 'start' },
{ text: 'Ticker', value: 'ticker', align: 'start' },
{ text: 'Asset Class', value: 'assetclass', align: 'start' },
{ text: 'Provider', value: 'issuer', align: 'start' },
{ text: 'Geographic Focus', value: 'region', align: 'start' },
{ text: 'Investment focus', value: 'focus', align: 'start' },
{ text: 'AUM (USD)', value: 'aum', align: 'start' },
]
Run Code Online (Sandbox Code Playgroud)
谢谢!