From ae6ce73e7abde1121a788f884e54ccd6cfad0460 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 11 八月 2020 13:59:29 +0800 Subject: [PATCH] 2020-08-11 --- src/tabviews/zshare/actionList/excelInbutton/excelin/index.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tabviews/zshare/actionList/excelInbutton/excelin/index.jsx b/src/tabviews/zshare/actionList/excelInbutton/excelin/index.jsx index 70b0c70..d3d057d 100644 --- a/src/tabviews/zshare/actionList/excelInbutton/excelin/index.jsx +++ b/src/tabviews/zshare/actionList/excelInbutton/excelin/index.jsx @@ -47,7 +47,7 @@ errors = 'notexit' } else if (range === 1) { let header = XLSX.utils.sheet_to_json(workbook.Sheets[btn.verify.sheet], {header: columns})[0] - + if (!header) { errors = 'empty' } else { @@ -89,7 +89,7 @@ }) notification.warning({ top: 92, - message: '鏂囦欢瑙f瀽閿欒锛岃妫�鏌ユ枃浠舵牸寮忥紒', + message: '鏂囦欢瑙f瀽閿欒锛�', duration: 5 }) // 閿欒浼犻�� -- Gitblit v1.8.0