集群名称支持中文,消息查询可选择时间展示顺序

This commit is contained in:
许晓东
2022-01-13 14:19:17 +08:00
parent 10302dd39c
commit e8fe2ea1c7
4 changed files with 68 additions and 36 deletions

View File

@@ -27,7 +27,7 @@ request.interceptors.request.use((config) => {
const clusterInfo = getClusterInfo();
if (clusterInfo) {
config.headers["X-Cluster-Info-Id"] = clusterInfo.id;
config.headers["X-Cluster-Info-Name"] = clusterInfo.clusterName;
// config.headers["X-Cluster-Info-Name"] = encodeURIComponent(clusterInfo.clusterName);
}
return config;
}, errorHandler);