feat: update instanceList and endpointList

This commit is contained in:
Qiuxia Fan
2022-01-17 17:58:23 +08:00
parent 9531e74f56
commit 652b3f2bbc
7 changed files with 55 additions and 18 deletions

View File

@@ -165,10 +165,11 @@ async function fetchPods(type: string) {
case "serviceInstance":
resp = await selectorStore.getServiceInstances();
break;
default:
resp = {};
}
if (resp.errors) {
ElMessage.error(resp.errors);
return [];
}
}
</script>