From 9590de2c1971b596c047deddd926c2b80ade2c67 Mon Sep 17 00:00:00 2001 From: kdyzm <zhengrongjun@haier.com> Date: 星期三, 02 六月 2021 17:08:00 +0800 Subject: [PATCH] 优化树生成的代码生成:增加loading、修改删除按钮的回调函数为箭头函数 --- ruoyi-common/src/main/java/com/ruoyi/common/exception/BaseException.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/exception/BaseException.java b/ruoyi-common/src/main/java/com/ruoyi/common/exception/BaseException.java index 92d6ae2..026cc0a 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/exception/BaseException.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/exception/BaseException.java @@ -1,7 +1,7 @@ package com.ruoyi.common.exception; +import cn.hutool.core.lang.Validator; import com.ruoyi.common.utils.MessageUtils; -import com.ruoyi.common.utils.StringUtils; /** * 鍩虹寮傚父 @@ -64,7 +64,7 @@ public String getMessage() { String message = null; - if (!StringUtils.isEmpty(code)) + if (!Validator.isEmpty(code)) { message = MessageUtils.message(code, args); } -- Gitblit v1.9.3