mirror of
https://github.com/element-plus/element-plus.git
synced 2025-01-12 10:45:10 +08:00
fix(image-viewer): image-viewer export error (#2754)
- Fix image viewer image error.
This commit is contained in:
parent
90d901af3e
commit
54e4a4211c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user