mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-21 16:56:49 +08:00
-- fix 附件上传名字
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user