mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2026-06-27 16:14:31 +00:00
fix 修复 白名单路径无法存储多个
This commit is contained in:
+3
-3
@@ -219,9 +219,9 @@ public class SysClientServiceImpl implements ISysClientService {
|
||||
* @return 逗号拼接后的规则串
|
||||
*/
|
||||
private String resolveRuleValue(String rawValue, List<String> listValue, UnaryOperator<String> normalizer) {
|
||||
List<String> rules = CollUtil.isNotEmpty(listValue)
|
||||
? listValue
|
||||
: StringUtils.str2List(rawValue, CLIENT_RULE_SEPARATOR_REGEX, true, true);
|
||||
List<String> rules = rawValue != null
|
||||
? StringUtils.str2List(rawValue, CLIENT_RULE_SEPARATOR_REGEX, true, true)
|
||||
: listValue;
|
||||
if (CollUtil.isEmpty(rules)) {
|
||||
return listValue != null || rawValue != null ? "" : null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user