1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-26 01:04:06 +08:00

fix ctx.right bug

This commit is contained in:
shaoying 2018-07-30 01:46:21 +08:00
parent c29800b184
commit e4cf27d202

View File

@ -2624,6 +2624,7 @@ var Index = &Context{Name: "ctx", Help: "模块中心",
index := m.Target().Index // {{{ index := m.Target().Index // {{{
if index == nil { if index == nil {
m.Target().Index = map[string]*Context{} m.Target().Index = map[string]*Context{}
index = m.Target().Index
} }
current := m.Target() current := m.Target()