讲师管理

This commit is contained in:
zhangsir
2024-11-01 11:01:07 +08:00
parent 3778c721cc
commit 8a6d8edca0
7 changed files with 81 additions and 33 deletions

View File

@@ -31,7 +31,7 @@
<div class="text">上传</div>
<div class="right">
<div style="height: 176px; margin-bottom: 20px">
<a-upload-dragger v-model:fileList="fileList" :action="importHomeWork" name="file" :multiple="true"
<a-upload-dragger v-model:fileList="fileList" :action="importHomeWork" :name="fileName" :multiple="true"
:headers="headers"
@change="handleChange" :showUploadList="false">
<p class="ant-upload-drag-icon">
@@ -159,7 +159,11 @@ import {getCookieForName} from "@/api/method";
title:{
type: String,
default: null,
}
},
fileName:{
type: String,
default: 'file',
},
},
setup(props, ctx) {
const state = reactive({