From efd673f6a8cb5900ec3fefb4f5a58f57a2b60c03 Mon Sep 17 00:00:00 2001 From: lichong <18518571399@163.com> Date: Wed, 27 Nov 2024 09:16:36 +0800 Subject: [PATCH] 11.27 --- src/renderer/src/views/shujuguanli.vue | 8 ++++++++ 1 file changed, 8 insertions(+) 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({