diff --git a/src/renderer/src/views/shujuguanli.vue b/src/renderer/src/views/shujuguanli.vue index f7f9ff6..7f2de7c 100644 --- a/src/renderer/src/views/shujuguanli.vue +++ b/src/renderer/src/views/shujuguanli.vue @@ -151,6 +151,10 @@ export default { allCells.push(newRow); } that.fileData1Header = { ...allCells[3] } + ElMessage({ + message: `导入成功,请导入下一个文件`, + type: 'success', + }) that.fileData1 = allCells } fileReader.onerror = function (error) { @@ -173,6 +177,10 @@ export default { let sheetName = workbook.SheetNames[0] let sheetData = XLSX.utils.sheet_to_json(workbook.Sheets[sheetName]) that.dealData2(sheetData) + ElMessage({ + message: `导入成功,请预览或者导出`, + type: 'success', + }) } fileReader.onerror = function (error) { ElMessage({