--fix 导入bug

This commit is contained in:
yuping
2023-01-15 18:58:04 +08:00
parent ac7d6f7627
commit 033615ea93
2 changed files with 13 additions and 16 deletions

View File

@@ -188,11 +188,10 @@
</a-drawer>
</template>
<script>
import { reactive, toRefs } from "vue";
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 { useStore } from "vuex";
export default {
name: "EScore",
props: {
@@ -219,7 +218,6 @@ export default {
},
},
setup(props, ctx) {
const store = useStore();
const state = reactive({
fileType: ["xls", "xlsx"],
importHomeWork:
@@ -231,8 +229,6 @@ export default {
succNum: 0, //成功数据数
errNum: 0, //失败数据数
downloadErrUrl: null, //下载失败数据
userId: store.state.userInfo.id,
userName: store.state.userInfo.realName,
fileName: "",
});
const closeDrawer = () => {