diff --git a/src/contexts/web/web.go b/src/contexts/web/web.go index 9a87d73a..4c954916 100644 --- a/src/contexts/web/web.go +++ b/src/contexts/web/web.go @@ -973,7 +973,7 @@ var Index = &ctx.Context{Name: "web", Help: "应用中心", // 执行命令 if order != "" || kit.Right(val["pre_run"]) { if list := m.Confv("auth", []string{m.Option("bench"), "data", "action", msg.Option("componet_name"), "cmd"}); list != nil && order == "" { - args = kit.Trans(list) + // args = kit.Trans(list) } if msg.Cmd(args); m.Options("bench") { diff --git a/usr/template/code/code.tmpl b/usr/template/code/code.tmpl index fef1ecf0..6174bfe4 100644 --- a/usr/template/code/code.tmpl +++ b/usr/template/code/code.tmpl @@ -360,7 +360,7 @@ function choose() { }, }); } -function open(event) { +function wopen(event) { wx.openAddress({success: function(res) { context.Command("show", res) }}) @@ -369,7 +369,7 @@ function open(event) { - + {{end}} {{define "tail"}}