From 27e59ff216fef558051b9824435f30b8f479922a Mon Sep 17 00:00:00 2001 From: shaoying Date: Wed, 3 Feb 2021 08:29:07 +0800 Subject: [PATCH] opt word --- core/wiki/feel.go | 2 +- core/wiki/word.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/wiki/feel.go b/core/wiki/feel.go index 0547acf0..c9020362 100644 --- a/core/wiki/feel.go +++ b/core/wiki/feel.go @@ -12,7 +12,7 @@ func init() { Index.Merge(&ice.Context{ Configs: map[string]*ice.Config{ FEEL: {Name: FEEL, Help: "影音媒体", Value: kit.Data( - kit.MDB_PATH, "usr/image", "regs", ".*.(qrc|png|PNG|jpg|jpeg|JPG|MOV|m4v|mp4)", + kit.MDB_PATH, "usr/image", "regs", ".*.(png|PNG|jpg|JPG|jpeg|mp4|m4v|MOV)", )}, }, Commands: map[string]*ice.Command{ diff --git a/core/wiki/word.go b/core/wiki/word.go index fd526b84..a08f2593 100644 --- a/core/wiki/word.go +++ b/core/wiki/word.go @@ -474,7 +474,7 @@ func init() { _other_show(m, arg[0], kit.Select(arg[0], arg[1]), arg[2:]...) }}, - WORD: {Name: "word path=src/main.shy auto", Help: "语言文字", Meta: kit.Dict( + WORD: {Name: "word path=src/main.shy auto 演示", Help: "语言文字", Meta: kit.Dict( "display", "/plugin/local/wiki/word.js", ), Action: map[string]*ice.Action{ web.STORY: {Name: "story", Help: "运行", Hand: func(m *ice.Message, arg ...string) {