File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 77 </div >
88 <Teleport to =" body" >
99 <div ref =" modalEl" tabindex =" -1" aria-hidden =" true" class =" hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-full max-h-full" >
10- <div v-bind =" $attrs" class =" relative p-4 max-w-2xl max-h-full" :class =" $attrs.class?.includes('w-') ? '' : 'w-full'" >
11- <!-- Modal content -->
10+ <div v-bind =" $attrs" class =" relative p-4 max-w-2xl max-h-full" :class =" (typeof $attrs.class === 'string' && $attrs.class.includes('w-')) ? '' : 'w-full'" >
1211 <div class =" relative bg-lightDialogBackgorund rounded-lg shadow-sm dark:bg-darkDialogBackgorund" >
1312 <!-- Modal header -->
1413 <div
@@ -66,7 +65,7 @@ const modal: Ref<Modal|null> = ref(null);
6665interface DialogButton {
6766 label: string
6867 onclick: (dialog : any ) => void
69- type ? : string
68+ options ? : Record < string , any >
7069}
7170
7271interface DialogProps {
You can’t perform that action at this time.
0 commit comments