fix: 消除Preview Options的函数定义类型错误
parent
81283bcd24
commit
eb96488317
|
@ -25,7 +25,7 @@ defineProps({
|
|||
<section
|
||||
v-show="loading"
|
||||
class="full-loading"
|
||||
:class="{ absolute, [theme]: !!theme }"
|
||||
:class="{ absolute, [`${theme}`]: !!theme }"
|
||||
:style="[background ? `background-color: ${background}` : '']"
|
||||
>
|
||||
<Spin v-bind="$attrs" :tip="tip" :size="size" :spinning="loading" />
|
||||
|
|
|
@ -12,8 +12,8 @@ export interface Options {
|
|||
defaultWidth?: number
|
||||
maskClosable?: boolean
|
||||
rememberState?: boolean
|
||||
onImgLoad?: (img: onImgLoadType) => void
|
||||
onImgError?: (img: onImgLoadType) => void
|
||||
onImgLoad?: (params: onImgLoadType) => void
|
||||
onImgError?: (params: onImgLoadType) => void
|
||||
}
|
||||
|
||||
export interface Props {
|
||||
|
|
Loading…
Reference in New Issue