@@ -38,7 +38,7 @@
let curScope = paper.examScope
let blobHost = curScope === 'school' ? JSON.parse(decodeURIComponent(localStorage.school_profile, "utf-8")).blob_uri : JSON.parse(decodeURIComponent(localStorage.user_profile, "utf-8")).blob_uri
let sasString = curScope === 'school' ? await this.$tools.getSchoolSas() : await this.$tools.getPrivateSas()
- this.fullImgArr = paper.attachments.map(imgName => blobHost + paper.blob + '/' + imgName + sasString.sas)
+ this.fullImgArr = paper.attachments?.map(imgName => blobHost + paper.blob + '/' + imgName + sasString.sas)
}
},
mounted() {