src/views/onlineStudy/file.vue
@@ -197,11 +197,15 @@ this.form.attachment = fileList.filter(item => item.name !== fileName); }, getUploadAttachmentUrl(uploadData) { this.form.attachment = uploadData; if (uploadData) { this.form.attachment = uploadData; } }, getUploadUrl(uploadData) { console.log("收到:", uploadData) this.form.contentUrl = uploadData; if (uploadData) { this.form.contentUrl = uploadData; } }, remove(id) { OnlineStudyAPI.remove([id]).then(res => {