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