From 0761dd149cb540ee80517f7649b577bfc0427b64 Mon Sep 17 00:00:00 2001 From: shaoying Date: Wed, 8 Jul 2020 20:08:59 +0800 Subject: [PATCH] opt some --- core/code/inner.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/code/inner.go b/core/code/inner.go index 0d35379d..f30441c2 100644 --- a/core/code/inner.go +++ b/core/code/inner.go @@ -151,9 +151,9 @@ func init() { )}, }, Commands: map[string]*ice.Command{ - INNER: {Name: "inner path=usr/demo file=hi.qrc key auto", Help: "编辑器", Meta: map[string]interface{}{ - "display": "/plugin/local/code/inner.js", "style": "editor", - }, Action: map[string]*ice.Action{ + INNER: {Name: "inner path=usr/demo file=hi.qrc line=1 auto", Help: "编辑器", Meta: kit.Dict( + "display", "/plugin/local/code/inner.js", "style", "editor", + ), Action: map[string]*ice.Action{ "cmd": {Name: "cmd arg", Help: "命令", Hand: func(m *ice.Message, arg ...string) { if m.Cmdy(kit.Split(arg[0])); !m.Hand { m.Cmdy(cli.SYSTEM, kit.Split(arg[0]))