-- 附件上传url

This commit is contained in:
yuping
2022-12-22 22:30:37 +08:00
parent b44e070069
commit 6fa476aa1c
4 changed files with 13 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
<template>
<a-upload
:file-list="files"
:action="`${process.env.VUE_APP_BASE_API}/file/upload`"
:action="FILE_UPLOAD_URL"
:show-upload-list="showUploadList"
:multiple="multiple"
:before-upload="beforeUpload"
@@ -16,6 +16,7 @@
<script setup>
import {defineProps, defineEmits, defineExpose, ref, watch} from "vue";
import {message} from "ant-design-vue";
import {FILE_UPLOAD_URL} from "@/api/config";
const props = defineProps({
value: {