-- 附件上传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

@@ -354,7 +354,7 @@
<div class="btnbox">
<a-upload
@change="handleChange"
:action="`${process.env.VUE_APP_BASE_API}/file/upload`"
:action="FILE_UPLOAD_URL"
v-model:file-list="fileList"
>
<button class="xkbtn">上传附件</button>
@@ -392,6 +392,7 @@ import { detail } from "../../api/indexCourse";
import { queryAppraiseDetailById } from "../../api/indexInvist";
import { queryWorkDetailById } from "@/api/indexWork";
import { queryExaminationDetailById } from "@/api/indexExam";
import {FILE_UPLOAD_URL} from "@/api/config";
export default {
name: "AddFaceteach",
components: {
@@ -841,6 +842,7 @@ export default {
};
return {
...toRefs(state),
FILE_UPLOAD_URL,
showDrawerSelFacet,
showDrawerAddHomework,
showDrawerAddTest,