This commit is contained in:
@@ -20,13 +20,28 @@
|
|||||||
:no-data-text="lt('NoData')"
|
:no-data-text="lt('NoData')"
|
||||||
class="elevation-1"
|
class="elevation-1"
|
||||||
>
|
>
|
||||||
|
<!-- /*UiDataTypes
|
||||||
|
NoType = 0,
|
||||||
|
DateTime = 1,
|
||||||
|
Date = 2,
|
||||||
|
Time = 3,
|
||||||
|
Text = 4,
|
||||||
|
Integer = 5,
|
||||||
|
Bool = 6,
|
||||||
|
Decimal = 7,
|
||||||
|
Currency = 8,
|
||||||
|
Tags = 9,
|
||||||
|
Enum = 10,
|
||||||
|
EmailAddress = 11
|
||||||
|
*/ -->
|
||||||
<template v-slot:body="{ items }">
|
<template v-slot:body="{ items }">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr v-for="item in items" :key="item.name">
|
<tr v-for="item in items" :key="item.name">
|
||||||
<td v-for="c in item.columns" :key="c.key">
|
<td v-for="c in item.columns" :key="c.key">
|
||||||
<div v-if="c.t === 4">
|
<!-- Handle all plain text types -->
|
||||||
|
<template v-if="c.t < 9">
|
||||||
{{ c.v }}
|
{{ c.v }}
|
||||||
</div>
|
</template>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
Reference in New Issue
Block a user