28/7/1404
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user