Browse Source

REPORT-10258 10.0 事件编辑面板,无法正常添加/删除“引用JavaScript”

research/10.0
plough 6 years ago
parent
commit
27eaf19c88
  1. 4
      designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/OneListTableModel.java

4
designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/OneListTableModel.java

@ -75,7 +75,7 @@ public abstract class OneListTableModel<T> extends UITableModelAdapter<T> {
if(!"js".equalsIgnoreCase(fileType)) { if(!"js".equalsIgnoreCase(fileType)) {
return ; return ;
} }
String temp = file.getPath().substring(1); String temp = file.getPath();
addRow((T) temp); addRow((T) temp);
fireTableDataChanged(); fireTableDataChanged();
} }
@ -101,7 +101,7 @@ public abstract class OneListTableModel<T> extends UITableModelAdapter<T> {
if(!"css".equalsIgnoreCase(fileType)) { if(!"css".equalsIgnoreCase(fileType)) {
return ; return ;
} }
String temp = file.getPath().substring(1); String temp = file.getPath();
addRow((T) temp); addRow((T) temp);
fireTableDataChanged(); fireTableDataChanged();
} }

Loading…
Cancel
Save