From e4cf27d202bcb2822244add3a678fdcf61124142 Mon Sep 17 00:00:00 2001 From: shaoying Date: Mon, 30 Jul 2018 01:46:21 +0800 Subject: [PATCH] fix ctx.right bug --- src/contexts/ctx.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/contexts/ctx.go b/src/contexts/ctx.go index 510f3b72..73a6da20 100644 --- a/src/contexts/ctx.go +++ b/src/contexts/ctx.go @@ -2624,6 +2624,7 @@ var Index = &Context{Name: "ctx", Help: "模块中心", index := m.Target().Index // {{{ if index == nil { m.Target().Index = map[string]*Context{} + index = m.Target().Index } current := m.Target()