删除上次提交带的日志
This commit is contained in:
parent
92dc2798cd
commit
d8a377dd69
@ -132,7 +132,6 @@ export default {
|
|||||||
const dataList = convertSheetToList(wb.Sheets[index], true);
|
const dataList = convertSheetToList(wb.Sheets[index], true);
|
||||||
if (dataList.length) {
|
if (dataList.length) {
|
||||||
const accountMap = {};
|
const accountMap = {};
|
||||||
console.log(dataList[0][0], dataList[1][0]);
|
|
||||||
if (!dataList[0][0].includes('学号') || !dataList[1][0].includes('姓名')) {
|
if (!dataList[0][0].includes('学号') || !dataList[1][0].includes('姓名')) {
|
||||||
throw new Error('检测到Excel格式错误,请使用模板格式导入!');
|
throw new Error('检测到Excel格式错误,请使用模板格式导入!');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user