通用下载方法新增config配置选项

This commit is contained in:
RuoYi
2022-09-19 13:22:52 +08:00
parent 9290e3c318
commit aad94b236e
2 changed files with 4 additions and 3 deletions

View File

@ -70,7 +70,7 @@ const emit = defineEmits();
const number = ref(0);
const uploadList = ref([]);
const baseUrl = import.meta.env.VITE_APP_BASE_API;
const uploadFileUrl = ref(import.meta.env.VITE_APP_BASE_API + "/common/upload"); // 上传的图片服务器地址
const uploadFileUrl = ref(import.meta.env.VITE_APP_BASE_API + "/common/upload"); // 上传文件服务器地址
const headers = ref({ Authorization: "Bearer " + getToken() });
const fileList = ref([]);
const showTip = computed(