Browse Source

REPORT-113978 补充数据中心位置

fbp-1.0
vito 3 months ago
parent
commit
c9e6fbc242
  1. 4
      designer-base/src/main/java/com/fr/design/data/tabledata/datacenter/DatacentersPane.java

4
designer-base/src/main/java/com/fr/design/data/tabledata/datacenter/DatacentersPane.java

@ -1,5 +1,6 @@
package com.fr.design.data.tabledata.datacenter;
import com.fanruan.workplace.http.ServiceType;
import com.fr.datacenters.tabledata.DCTableData;
import com.fr.datacenters.tabledata.bean.DCNameBean;
import com.fr.datacenters.tabledata.bean.DCTableDataBean;
@ -80,7 +81,8 @@ public class DatacentersPane extends AbstractTableDataPane<DCTableData> {
private static String getDatacentersUrl() {
if (!WorkContext.getCurrent().isLocal()) {
String path = WorkContext.getCurrent().getPath();
return path.endsWith("/") ? path + "bi" : path + "/bi";
String datacenterPath = ServiceType.DATACENTER.createPath(StringUtils.EMPTY);
return path.endsWith("/") ? path + datacenterPath : path + "/" + datacenterPath;
}
return StringUtils.EMPTY;
}

Loading…
Cancel
Save