From 5098d77e90b3865a2d32b65e880e0a6183bb077e Mon Sep 17 00:00:00 2001 From: dev02 Date: Wed, 15 Feb 2023 16:25:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=A4=E6=96=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Frontend/_operation.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Frontend/_operation.html b/Frontend/_operation.html index b24fc96..64adb49 100644 --- a/Frontend/_operation.html +++ b/Frontend/_operation.html @@ -669,7 +669,7 @@ } else if (/\.(xls?x|doc?x|ptt?x|pdf|zip|rar|7zip|txt|odt|xml|rtf|ods|odp|pps?x)$/i.test(v.ori_file_name)) { icons = null - if (extName == "xlsx" || extName == xls) + if (extName == "xlsx" || extName == "xls") icons = "fas fa-file-excel"; else if (extName == "pdf" || extName == "ods") icons = "fas fa-file-pdf"; @@ -780,7 +780,7 @@ } else if (/\.(xls?x|doc?x|ptt?x|pdf|zip|rar|7zip|txt|odt|xml|rtf|ods|odp|pps?x)$/i.test(v.ori_file_name)) { icons = null - if (extName == "xlsx" || extName == xls) + if (extName == "xlsx" || extName == "xls") icons = "fas fa-file-excel"; else if (extName == "pdf" || extName == "ods") icons = "fas fa-file-pdf"; @@ -1375,7 +1375,7 @@ } else if (/\.(xls?x|doc?x|ptt?x|pdf|zip|rar|7zip|txt|odt|xml|rtf|ods|odp|pps?x)$/i.test(v.ori_file_name)) { icons = null - if (extName == "xlsx" || extName == xls) + if (extName == "xlsx" || extName == "xls") icons = "fas fa-file-excel"; else if (extName == "pdf" || extName == "ods") icons = "fas fa-file-pdf";