Browse Source

REPORT-80695 模板全局级别查找替换二期 重复替换问题修复

new-design
Destiny.Lin 2 years ago
parent
commit
2531859fbf
  1. 2
      designer-realize/src/main/java/com/fr/design/actions/replace/ui/ITReplaceMainDialog.java

2
designer-realize/src/main/java/com/fr/design/actions/replace/ui/ITReplaceMainDialog.java

@ -258,7 +258,7 @@ public class ITReplaceMainDialog extends UIDialog {
*/ */
public void replace(String searchStr, String replaceStr) { public void replace(String searchStr, String replaceStr) {
for (Info info : searchContentResultList) { for (Info info : searchContentResultList) {
if (!info.getContent().isWrongful() && info.getContent().isSelected()) { if (!info.getContent().isWrongful() && isSupportReplace(info)) {
info.setValue(info, searchStr, replaceStr, info.getContent().getOperatorArray()); info.setValue(info, searchStr, replaceStr, info.getContent().getOperatorArray());
} }
if (info.getContent().isSelected()) { if (info.getContent().isSelected()) {

Loading…
Cancel
Save