1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 08:48:06 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2022-08-28 11:51:05 +08:00
parent 6455009aba
commit d9e3c7a220
2 changed files with 25 additions and 15 deletions

View File

@ -4,9 +4,15 @@ Volcanos({name: "chat", river: {
{name: "feel", help: "影音媒体", index: "web.wiki.feel"},
{name: "draw", help: "思维导图", index: "web.wiki.draw"},
{name: "data", help: "数据表格", index: "web.wiki.data"},
{name: "plan", help: "计划任务", index: "web.team.plan"},
{name: "location", help: "地图导航", index: "web.chat.location"},
{name: "context", help: "编程", index: "web.wiki.word", args: ["src/main.shy"]},
]},
website: {name: "定制 website", index: [
"web.chat.website",
"web.chat.div",
"web.code.vimer",
"web.dream",
]},
}},
project: {name: "研发群", storm: {
studio: {name: "研发 studio", list: [
@ -18,18 +24,22 @@ Volcanos({name: "chat", river: {
]},
}},
profile: {name: "测试群", storm: {
website: {name: "定制 website", index: [
"web.chat.website",
"web.chat.div",
"web.code.vimer",
"web.dream",
]},
release: {name: "发布 release", index: [
"web.code.install", "web.code.upgrade", "web.code.publish", "web.code.compile", "web.code.autogen", "web.code.binpack", "web.code.webpack",
"web.code.git.status", "web.code.git.server",
"web.code.install",
"web.code.upgrade",
"web.code.webpack",
"web.code.binpack",
"web.code.autogen",
"web.code.compile",
"web.code.publish",
"web.code.git.server",
"web.code.git.status",
]},
research: {name: "测试 research", index: [
"web.code.favor", "web.code.bench", "web.code.pprof",
"web.code.favor",
"web.code.bench",
"web.code.pprof",
"web.code.xterm",
"web.code.case",
]},
}},
@ -38,14 +48,14 @@ Volcanos({name: "chat", river: {
"user", "totp", "sess", "role",
]},
web: {name: "应用 web", index: [
"serve", "space", "dream", "route",
"broad", "serve", "space", "dream", "route",
"share", "spide", "cache", "story",
]},
cli: {name: "系统 cli", index: [
"qrcode", "daemon", "system", "runtime", "mirrors", "forever",
"qrcode", "daemon", "system", "runtime", "mirrors", "forever", "port",
]},
nfs: {name: "文件 nfs", index: [
"cat", "dir", "port", "tail", "trash",
"cat", "dir", "pack", "tail", "trash",
]},
}},
}})

View File

@ -48,8 +48,8 @@ Volcanos(chat.ONIMPORT, {help: "导入数据", _init: function(can, msg, cb, tar
can.onengine.signal(can, chat.ONOPENSEARCH, can.request(event, {type: mdb.FOREACH, word: ui.value}))
})
},
_menus: function(can, msg, target) {
can.setHeaderMenu(can.user.mod.isPod? [ctx.CONFIG]:
_menus: function(can, msg, target) { if (can.user.mod.isPod) { return }
can.setHeaderMenu(can.user.mod.isPod? []:
can.base.Obj(msg.Option(chat.MENUS)||can.Conf(chat.MENUS), can.onaction._menus), function(event, button) {
can.core.CallFunc(can.onaction[button]||function(event, can) {
can.run(event, [button], function(msg) { can.user.toastSuccess(can, can.user.trans(can, button)) })