update header
This commit is contained in:
@@ -15,6 +15,16 @@
|
||||
</v-toolbar>
|
||||
</template>
|
||||
|
||||
<template v-slot:headers="{ columns }">
|
||||
<tr>
|
||||
<template v-for="column in columns" :key="column.key">
|
||||
<td :class="column.class" :style="{ width: column.width, textAlign: column.align }">
|
||||
<span>{{ column.title }}</span>
|
||||
</td>
|
||||
</template>
|
||||
</tr>
|
||||
</template>
|
||||
|
||||
<template v-slot:item="{ item }">
|
||||
<tr v-bind:class="{'bg-primary-lighten':isSelected(item)}" @click="selectMe(item)">
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user