From ffe88aa9f9b297122ac6aa2d46a721fe276de714 Mon Sep 17 00:00:00 2001 From: shaoying Date: Mon, 29 Jun 2020 11:40:54 +0800 Subject: [PATCH] fix draw --- core/wiki/draw.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/wiki/draw.go b/core/wiki/draw.go index 756db2ac..51d5721b 100644 --- a/core/wiki/draw.go +++ b/core/wiki/draw.go @@ -35,7 +35,7 @@ func init() { Commands: map[string]*ice.Command{ DRAW: {Name: "draw path=hi.svg auto", Help: "思维导图", Meta: kit.Dict(mdb.PLUGIN, DrawPlugin), Action: map[string]*ice.Action{ nfs.SAVE: {Name: "save path text", Help: "保存", Hand: func(m *ice.Message, arg ...string) { - _wiki_save(m, DRAW, arg[0], kit.Select(m.Option("content"), arg, 1)) + _wiki_save(m, DATA, arg[0], arg[1]) }}, "run": {Name: "show zone type name text", Help: "运行", Hand: func(m *ice.Message, arg ...string) { _draw_show(m, arg[0], arg[1], arg[2], arg[3], arg[4:]...)