mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-24 07:19:46 +08:00
update 使用hutool重构 判断是否url
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
package com.ruoyi.system.domain.vo;
|
||||
|
||||
import com.ruoyi.common.utils.StringUtils;
|
||||
import cn.hutool.core.lang.Validator;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.experimental.Accessors;
|
||||
@ -56,7 +56,7 @@ public class MetaVo {
|
||||
this.title = title;
|
||||
this.icon = icon;
|
||||
this.noCache = noCache;
|
||||
if (StringUtils.ishttp(link)) {
|
||||
if (Validator.isUrl(link)) {
|
||||
this.link = link;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user