From 741464f91ab919b180ef4611b3bddbf74232ad2d Mon Sep 17 00:00:00 2001 From: shylinux Date: Tue, 19 Oct 2021 12:29:44 +0800 Subject: [PATCH] opt some --- plugin/local/code/vimer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/local/code/vimer.js b/plugin/local/code/vimer.js index bd68165d..8e079c46 100644 --- a/plugin/local/code/vimer.js +++ b/plugin/local/code/vimer.js @@ -297,7 +297,7 @@ Volcanos("onkeymap", {help: "键盘交互", list: ["command", "normal", "insert" can.onaction.rerankLine(can) }, }) -Volcanos("onaction", {help: "控件交互", list: ["autogen", "compile"], +Volcanos("onaction", {help: "控件交互", list: ["autogen", "compile", "binpack"], save: function(event, can) { var msg = can.request(event, {content: can.onexport.content(can)}) can.run(event, [ctx.ACTION, "save", can.parse, can.Option("file"), can.Option("path")], function(msg) { can.user.toast(can, "保存成功")