未验证 提交 6aa339cc 编写于 作者: J Jason Song 提交者: GitHub

fix the issue that a non-properties namespace could not be cleared (#2320)

上级 d43333c5
......@@ -17,7 +17,7 @@ public class FileTextResolver implements ConfigTextResolver {
@Override
public ItemChangeSets resolve(long namespaceId, String configText, List<ItemDTO> baseItems) {
ItemChangeSets changeSets = new ItemChangeSets();
if (StringUtils.isEmpty(configText)) {
if (CollectionUtils.isEmpty(baseItems) && StringUtils.isEmpty(configText)) {
return changeSets;
}
if (CollectionUtils.isEmpty(baseItems)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册