diff --git a/frame.js b/frame.js index eb4ddaab..b33d615c 100644 --- a/frame.js +++ b/frame.js @@ -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", diff --git a/pane/Action.js b/pane/Action.js index 5b2034d9..52eb3068 100644 --- a/pane/Action.js +++ b/pane/Action.js @@ -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