feat: 添加最近访问菜单功能并移除Websocket菜单

This commit is contained in:
Ray.Hao
2026-02-24 21:32:14 +08:00
parent c617d2943f
commit ecdc22969d
8 changed files with 170 additions and 362 deletions

View File

@@ -498,19 +498,6 @@ export default defineMock([
params: null,
},
},
{
path: "/function/websocket",
component: "demo/websocket",
name: "/function/websocket",
meta: {
title: "Websocket",
icon: "",
hidden: false,
keepAlive: true,
alwaysShow: false,
params: null,
},
},
{
path: "/function/ai-command",
component: "demo/ai-command",
@@ -1571,21 +1558,6 @@ export default defineMock([
perm: null,
children: [],
},
{
id: 90,
parentId: 89,
name: "Websocket",
type: "MENU",
routeName: null,
routePath: "/function/websocket",
component: "demo/websocket",
sort: 3,
visible: 1,
icon: "",
redirect: "",
perm: null,
children: [],
},
{
id: 91,
parentId: 89,