feat: improve attachment display
parent
dba069f0ef
commit
3ce1eb3537
|
@ -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 New Issue