mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-24 10:33:50 +08:00
type(preview): fix type definition
修复Preview组件的事件参数类型定义
This commit is contained in:
parent
e23bd2696d
commit
bdf0be81b0
@ -6,8 +6,8 @@ export interface Options {
|
||||
defaultWidth?: number;
|
||||
maskClosable?: boolean;
|
||||
rememberState?: boolean;
|
||||
onImgLoad?: (img: HTMLImageElement) => void;
|
||||
onImgError?: (img: HTMLImageElement) => void;
|
||||
onImgLoad?: ({ index: number, url: string, dom: HTMLImageElement }) => void;
|
||||
onImgError?: ({ index: number, url: string, dom: HTMLImageElement }) => void;
|
||||
}
|
||||
|
||||
export interface Props {
|
||||
|
Loading…
Reference in New Issue
Block a user