28/7/1404

This commit is contained in:
2025-10-20 18:26:45 +03:30
parent 0fdf9017ac
commit 0db71b78b0
10 changed files with 1145 additions and 334 deletions
+4 -1
View File
@@ -11,6 +11,7 @@
:width="props.width"
:ok-text="props.okText"
:cancel-text="props.cancelText"
:closable="props.closable"
:wrapClassName="props.wrapClassName"
>
<template v-if="props.customFooter" #footer> <slot name="footer" /></template>
@@ -38,6 +39,7 @@ interface Prop {
cancelText?: string
customFooter?: boolean
loading?: boolean
closable?: boolean
wrapClassName?: string
}
@@ -47,7 +49,8 @@ const props = withDefaults(defineProps<Prop>(), {
okText: 'ثبت',
customFooter: false,
loading: false,
wrapClassName: ''
wrapClassName: '',
closable: true
})
const localValue = computed({