forked from x/icebergs
add some
This commit is contained in:
parent
d264cd3261
commit
0959289870
@ -54,6 +54,9 @@ func init() {
|
||||
), Actions: ice.MergeActions(ice.Actions{
|
||||
ice.CTX_INIT: {Hand: func(m *ice.Message, arg ...string) {
|
||||
ice.AddRender(ice.RENDER_QRCODE, func(m *ice.Message, args ...ice.Any) string {
|
||||
if m.IsMobileUA() {
|
||||
m.Option(SIZE, "280")
|
||||
}
|
||||
return m.Cmd(Prefix(QRCODE), kit.Simple(args...)).Result()
|
||||
})
|
||||
}},
|
||||
|
@ -42,6 +42,7 @@ func init() {
|
||||
"wx:key", code.FUNCTION,
|
||||
"bindtap", code.FUNCTION,
|
||||
"bindchange", code.FUNCTION,
|
||||
"bindconfirm", code.FUNCTION,
|
||||
"bindinput", code.FUNCTION,
|
||||
"bindblur", code.FUNCTION,
|
||||
"data-name", code.FUNCTION,
|
||||
|
Loading…
x
Reference in New Issue
Block a user