chore: 优化演示示例

This commit is contained in:
xiaoxian521
2024-01-11 22:42:19 +08:00
parent 7b228f4784
commit 44c541126a
30 changed files with 409 additions and 422 deletions

View File

@@ -1,34 +1,30 @@
// 完整版菜单比较多,将 rank 抽离出来,在此方便维护
const home = 0, // 平台规定只有 home 路由的 rank 才能为 0 ,所以后端在返回 rank 的时候需要从 1 开始哦
doc = 1,
utils = 2,
able = 1,
components = 2,
table = 3,
components = 4,
able = 5,
frame = 6,
nested = 7,
result = 8,
error = 9,
list = 10,
permission = 11,
system = 12,
tabs = 13,
formdesign = 14,
flowchart = 15,
ppt = 16,
editor = 17,
guide = 18,
menuoverflow = 19,
about = 20;
frame = 4,
nested = 5,
result = 6,
error = 7,
list = 8,
permission = 9,
system = 10,
tabs = 11,
formdesign = 12,
flowchart = 13,
ppt = 14,
editor = 15,
guide = 16,
about = 17,
menuoverflow = 18;
export {
home,
doc,
utils,
table,
components,
able,
components,
table,
frame,
nested,
result,
@@ -42,6 +38,6 @@ export {
ppt,
editor,
guide,
menuoverflow,
about
about,
menuoverflow
};