1
0
mirror of https://shylinux.com/x/volcanos synced 2025-05-04 20:27:01 +08:00
This commit is contained in:
shylinux 2020-10-09 06:52:36 +08:00
parent 2e4f12dafa
commit 0299f62448
2 changed files with 3 additions and 3 deletions

View File

@ -148,7 +148,7 @@ Volcanos("onengine", {help: "解析引擎", list: [], _init: function(can, meta,
"product": {name: "产品群", storm: {
"office": {name: "办公 office", index: [
"web.wiki.feel",
"web.wiki.draw.draw",
"web.wiki.draw",
"web.team.plan",
"web.wiki.data",
"web.wiki.word",

View File

@ -33,8 +33,8 @@ Volcanos("onaction", {help: "交互操作", list: [], _init: function(can, msg,
sub.run(res._event, cmds, cb, silent)
})
},
add_plugin: function(can, river, storm, value) {
value.action = value.id || value.index
add_plugin: function(can, river, storm, value) { value.name = value.name.split(" ")[0]
value.action = value.id || value.index || value.key+"."+value.name
value.height = can._target.offsetHeight
value.width = can._target.offsetWidth