Merge branch '608-fix-pdf-inline-blank-screen' into 'dev'
fix pdf inline blank screen See merge request keanuapp/keanuapp-weblite!378
This commit is contained in:
commit
f79d5192cd
1 changed files with 1 additions and 5 deletions
|
|
@ -101,11 +101,7 @@ const updateSource = () => {
|
||||||
eventAttachment.loadThumbnail().then((url) => {
|
eventAttachment.loadThumbnail().then((url) => {
|
||||||
source.value = url.data;
|
source.value = url.data;
|
||||||
})
|
})
|
||||||
} else if (isImage.value) {
|
} else if (isImage.value || isVideo.value || isPDF.value) {
|
||||||
eventAttachment.loadSrc().then((url) => {
|
|
||||||
source.value = url.data;
|
|
||||||
})
|
|
||||||
} else if (isVideo.value) {
|
|
||||||
eventAttachment.loadSrc().then((url) => {
|
eventAttachment.loadSrc().then((url) => {
|
||||||
source.value = url.data;
|
source.value = url.data;
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue