mirror of
https://github.com/element-plus/element-plus.git
synced 2025-01-30 11:16:12 +08:00
fix(components): [el-image] preview-src-list warn (#4472)
This commit is contained in:
parent
61ef932e15
commit
e9f3d989c6
@ -84,6 +84,7 @@ import {
|
||||
watch,
|
||||
nextTick,
|
||||
effectScope,
|
||||
markRaw,
|
||||
} from 'vue'
|
||||
import { useEventListener } from '@vueuse/core'
|
||||
import ElIcon from '@element-plus/components/icon'
|
||||
@ -108,11 +109,11 @@ import type { CSSProperties } from 'vue'
|
||||
const Mode = {
|
||||
CONTAIN: {
|
||||
name: 'contain',
|
||||
icon: FullScreen,
|
||||
icon: markRaw(FullScreen),
|
||||
},
|
||||
ORIGINAL: {
|
||||
name: 'original',
|
||||
icon: ScaleToOriginal,
|
||||
icon: markRaw(ScaleToOriginal),
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user