feat: Parameters Page style change

This commit is contained in:
alisa
2023-04-27 22:43:30 +08:00
parent be885dde89
commit b4eca8f597
5 changed files with 256 additions and 32 deletions
@@ -4,6 +4,10 @@ import DynamicComponent from './DynamicComponent.vue';
const props = defineProps({
value: { type: Array<Object>},
thead: {
type: Boolean,
default: true
}
})
const header = computed(() => {
@@ -15,8 +19,8 @@ const header = computed(() => {
</script>
<template>
<VTable v-if="header.length > 0" density="compact" height="300px" fixed-header>
<thead>
<VTable v-if="header.length > 0" density="compact" height="300px" fixed-header hover>
<thead v-if="thead">
<tr>
<th v-for="k in header" class="text-left text-capitalize">{{ k }}</th>
</tr>