forked from x/icebergs
add some
This commit is contained in:
parent
be0a295b52
commit
f6a009c7fa
@ -144,6 +144,9 @@ func init() {
|
||||
kit.If(key == cli.QRCODE, func() { value = ice.Render(m, ice.RENDER_QRCODE, value) })
|
||||
return value
|
||||
})
|
||||
if m.Length() == 0 {
|
||||
m.EchoInfoButton("请添加公众号或小程序", mdb.CREATE)
|
||||
}
|
||||
}},
|
||||
})
|
||||
}
|
||||
|
@ -51,6 +51,9 @@ func init() {
|
||||
m.Option("cache.limit", "-1")
|
||||
if len(arg) == 0 {
|
||||
m.Cmdy(ACCESS).PushAction("").Option(ice.MSG_ACTION, "")
|
||||
if m.Length() == 0 {
|
||||
m.SetResult()
|
||||
}
|
||||
} else if mdb.HashSelect(m, arg[1:]...).Sort(mdb.Config(m, mdb.SHORT), ice.STR, ice.INT, ice.INT); len(arg) == 1 {
|
||||
m.Action(mdb.CREATE, mdb.UPDATE)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user