若依
2022-08-24 afa23c21116dcfd7e6f4eac5b1f2be7ef242ee15
!240 update ruoyi-ui/src/components/FileUpload/index.vue.
Merge pull request !240 from exiace/N/A
1 files modified
4 ■■■■ changed files
ruoyi-ui/src/components/FileUpload/index.vue 4 ●●●● patch | view | raw | blame | history
ruoyi-ui/src/components/FileUpload/index.vue
@@ -72,7 +72,7 @@
    return {
      number: 0,
      uploadList: [],
      uploadFileUrl: process.env.VUE_APP_BASE_API + "/file/upload", // 上传的图片服务器地址
      uploadFileUrl: process.env.VUE_APP_BASE_API + "/file/upload", // 上传文件服务器地址
      headers: {
        Authorization: "Bearer " + getToken(),
      },
@@ -146,7 +146,7 @@
    },
    // 上传失败
    handleUploadError(err) {
      this.$modal.msgError("上传图片失败,请重试");
      this.$modal.msgError("上传文件失败,请重试");
      this.$modal.closeLoading()
    },
    // 上传成功回调