From 57035a9fa567f2674637e5913931fe8e835c0df8 Mon Sep 17 00:00:00 2001 From: shy Date: Tue, 11 Jun 2024 11:04:23 +0800 Subject: [PATCH] add some --- misc/wx/wxml.go | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/misc/wx/wxml.go b/misc/wx/wxml.go index 71692f60..35790744 100644 --- a/misc/wx/wxml.go +++ b/misc/wx/wxml.go @@ -25,13 +25,14 @@ func init() { "class", code.FUNCTION, "type", code.FUNCTION, "open-type", code.FUNCTION, - "name", code.FUNCTION, "size", code.FUNCTION, + "name", code.FUNCTION, "value", code.FUNCTION, - "placeholder", code.FUNCTION, "range", code.FUNCTION, + "placeholder", code.FUNCTION, "is", code.FUNCTION, "data", code.FUNCTION, + "nodes", code.FUNCTION, "wx:if", code.FUNCTION, "wx:elif", code.FUNCTION, "wx:else", code.FUNCTION, @@ -40,11 +41,13 @@ func init() { "wx:for-index", code.FUNCTION, "wx:key", code.FUNCTION, "bindtap", code.FUNCTION, - "bindinput", code.FUNCTION, "bindchange", code.FUNCTION, - "onblur", code.FUNCTION, + "bindinput", code.FUNCTION, + "bindblur", code.FUNCTION, "data-name", code.FUNCTION, "data-item", code.FUNCTION, + "data-index", code.FUNCTION, + "data-order", code.FUNCTION, ), )), ice.Actions{ code.TEMPLATE: {Hand: func(m *ice.Message, arg ...string) {