支持不同的角色查看不同集群.
This commit is contained in:
@@ -199,6 +199,10 @@ export const KafkaClusterApi = {
|
||||
url: "/cluster/info",
|
||||
method: "get",
|
||||
},
|
||||
getClusterInfoListForSelect: {
|
||||
url: "/cluster/info/select",
|
||||
method: "get",
|
||||
},
|
||||
addClusterInfo: {
|
||||
url: "/cluster/info",
|
||||
method: "post",
|
||||
|
||||
@@ -146,8 +146,8 @@ export default {
|
||||
},
|
||||
getClusterInfoList() {
|
||||
request({
|
||||
url: KafkaClusterApi.getClusterInfoList.url,
|
||||
method: KafkaClusterApi.getClusterInfoList.method,
|
||||
url: KafkaClusterApi.getClusterInfoListForSelect.url,
|
||||
method: KafkaClusterApi.getClusterInfoListForSelect.method,
|
||||
}).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.clusterInfoList = res.data;
|
||||
|
||||
Reference in New Issue
Block a user