-- fix 附件上传名字

This commit is contained in:
yuping
2023-01-17 21:01:43 +08:00
parent 1cbc76968a
commit 4f0dabf959
2 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
<template>
<el-upload :file-list="files" :action="FILE_UPLOAD" method="POST" :show-file-list="false" :on-change="handleChange"
<el-upload :file-list="files" :action="FILE_UPLOAD_ANNEX" method="POST" :show-file-list="false" :on-change="handleChange"
:limit="max" ref="imageRef" :on-exceed="exceed">
<template #trigger>
<div>
@@ -9,7 +9,7 @@
</el-upload>
</template>
<script setup>
import { FILE_UPLOAD } from "@/api/api";
import { FILE_UPLOAD_ANNEX } from "@/api/api";
import { defineProps, ref, watch } from "vue";
import { ElMessage } from "element-plus";