rebuild(stage-5): establish market data gateway and charts

This commit is contained in:
leefer
2026-07-30 02:35:42 +08:00
parent 40ad5d6836
commit cf0ab7026f
45 changed files with 2701 additions and 46 deletions
+6
View File
@@ -2,6 +2,7 @@ import { createRouter, createWebHistory } from "vue-router";
import SystemManagementView from "./views/SystemManagementView.vue";
import WorkspaceView from "./views/WorkspaceView.vue";
import EntityDetailView from "./views/EntityDetailView.vue";
import { findWorkspace } from "./workspaceRegistry";
export default createRouter({
@@ -15,6 +16,11 @@ export default createRouter({
beforeEnter: (to) => (findWorkspace(String(to.params.workspace)) ? true : "/workspace/emotion"),
},
{ path: "/system", name: "system", component: SystemManagementView },
{
path: "/market/:entityType/:identifier",
name: "entity-detail",
component: EntityDetailView,
},
{ path: "/:pathMatch(.*)*", redirect: "/workspace/emotion" },
],
});