forked from Mirrors/elk
feat: improve attachment display
This commit is contained in:
parent
dba069f0ef
commit
3ce1eb3537
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,9 @@ export default defineComponent({
|
||||||
isLoaded.value = true
|
isLoaded.value = true
|
||||||
}
|
}
|
||||||
img.src = props.src
|
img.src = props.src
|
||||||
|
setTimeout(() => {
|
||||||
|
isLoaded.value = true
|
||||||
|
}, 3_000)
|
||||||
|
|
||||||
if (props.blurhash) {
|
if (props.blurhash) {
|
||||||
const pixels = decode(props.blurhash, 32, 32)
|
const pixels = decode(props.blurhash, 32, 32)
|
||||||
|
|
Loading…
Reference in a new issue