From c9e6fbc242857280e304ba98366bba1fb5d50b0d Mon Sep 17 00:00:00 2001 From: vito Date: Mon, 19 Aug 2024 16:59:35 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-113978=20=E8=A1=A5=E5=85=85=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E4=B8=AD=E5=BF=83=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fr/design/data/tabledata/datacenter/DatacentersPane.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/designer-base/src/main/java/com/fr/design/data/tabledata/datacenter/DatacentersPane.java b/designer-base/src/main/java/com/fr/design/data/tabledata/datacenter/DatacentersPane.java index 6485c570d4..e8a539f115 100644 --- a/designer-base/src/main/java/com/fr/design/data/tabledata/datacenter/DatacentersPane.java +++ b/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 { 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; }