mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-23 01:36:47 +08:00
fix bug
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
:action="importScore"
|
||||
name="uploadFile"
|
||||
:multiple="true"
|
||||
:headers="headers"
|
||||
@change="handleChange"
|
||||
:showUploadList="false"
|
||||
:data="{
|
||||
@@ -195,6 +196,7 @@ import { reactive, toRefs } from "vue";
|
||||
import { message } from "ant-design-vue";
|
||||
import * as api from "../../api/index1";
|
||||
import { BATCH_IMPORT_SCORE } from "@/api/config";
|
||||
import {getCookieForName} from "@/api/method";
|
||||
|
||||
export default {
|
||||
name: "EScore",
|
||||
@@ -255,6 +257,7 @@ export default {
|
||||
process.env.VUE_APP_FILE_PATH,
|
||||
template: process.env.VUE_APP_UP_LOAD_STUDENT_SCORE_TEMPLATE,
|
||||
});
|
||||
const headers = { token: getCookieForName("token") };
|
||||
const closeDrawer = () => {
|
||||
ctx.emit("closeDraw", true);
|
||||
ctx.emit("update:eScorevisibleExternalExternal", false);
|
||||
@@ -405,6 +408,7 @@ export default {
|
||||
BATCH_IMPORT_SCORE,
|
||||
beforeUpload,
|
||||
handleUpload,
|
||||
headers,
|
||||
removeUpload,
|
||||
downloadEeeorData,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user