File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
adminforth/spa/src/components Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
- <div class =" overflow-x-auto rounded-default shadow-resourseFormShadow dark:shadow-darkResourseFormShadow" >
2
+ <div : class =" ` overflow-x-auto ${isRounded ? ' rounded-default' : ''} shadow-resourseFormShadow dark:shadow-darkResourseFormShadow` " >
3
3
<div v-if =" groupName && !noTitle" class =" text-md font-semibold px-6 py-3 flex flex-1 items-center dark:border-gray-600 text-gray-700 bg-lightFormHeading dark:bg-gray-700 dark:text-gray-400 rounded-t-lg" >
4
4
{{ groupName }}
5
5
</div >
60
60
import { getCustomComponent } from ' @/utils' ;
61
61
import { useCoreStore } from ' @/stores/core' ;
62
62
import { computed } from ' vue' ;
63
- const props = defineProps <{
63
+ const props = withDefaults ( defineProps <{
64
64
columns: Array <{
65
65
name: string ;
66
66
label: string ;
80
80
noTitle? : boolean ;
81
81
resource: Record <string , any >;
82
82
record: Record <string , any >;
83
- }>();
84
-
83
+ isRounded? : boolean ;
84
+ }>(), {
85
+ isRounded: true
86
+ });
87
+
85
88
const coreStore = useCoreStore ();
86
89
const allColumnsHaveCustomComponent = computed (() => {
87
90
return props .columns .every (column => {
You can’t perform that action at this time.
0 commit comments