This commit is contained in:
Fine 2022-09-19 13:55:16 +08:00
parent 214b34ddfd
commit 8583024f98
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ export const routesGen: Array<RouteRecordRaw> = [
},
component: () =>
import(/* webpackChunkName: "layer" */ "@/views/Layer.vue"),
},
},
{
path: "/database/tab/:activeTabIndex",
name: "VirtualDatabaseActiveTabIndex",

View File

@ -83,7 +83,7 @@ export const profileStore = defineStore({
if (res.data.errors) {
return res.data;
}
this.endpoints = [{ value: "", label: "All" }, ...res.data.data.pods];
this.endpoints = res.data.data.pods || [];
return res.data;
},
async getTaskEndpoints(serviceId: string, keyword?: string) {