From e4ccbc66010f7c26ea4b014fe6199b41dd9667af Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期四, 07 十一月 2024 22:15:27 +0800 Subject: [PATCH] 支持自定义显示Excel属性列 --- ruoyi-ui/src/utils/validate.js | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/src/utils/validate.js b/ruoyi-ui/src/utils/validate.js index 9c00400..7986433 100644 --- a/ruoyi-ui/src/utils/validate.js +++ b/ruoyi-ui/src/utils/validate.js @@ -65,10 +65,7 @@ * @returns {Boolean} */ export function isString(str) { - if (typeof str === 'string' || str instanceof String) { - return true - } - return false + return typeof str === 'string' || str instanceof String; } /** -- Gitblit v1.9.2