style: 私密分享的office文件挂载后无法预览的问题

This commit is contained in:
jmal 2024-04-30 23:20:39 +08:00
parent 02d3e068d7
commit 4530401068

View File

@ -100,7 +100,7 @@ export default {
this.$store.dispatch('updateMessage', { event: 'loadFileFailed'})
return
}
if (!this.shareId) {
if (this.shareId) {
api.getPublicFileInfoById({fileId: this.file.id, shareId: this.shareId}).then(res => {
this.file = res.data
this.loadFile()