fix(image-viewer): image-viewer export error (#2754)

- Fix image viewer image error.
This commit is contained in:
jeremywu 2021-07-28 20:14:36 +08:00 committed by GitHub
parent 90d901af3e
commit 54e4a4211c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ import type { SFCWithInstall } from '@element-plus/utils/types'
import ImageViewer from './src/index.vue'
ImageViewer.install = (app: App): void => {
app.component(Image.name, Image)
app.component(ImageViewer.name, ImageViewer)
}
const _ImageViewer: SFCWithInstall<typeof ImageViewer> = ImageViewer