Optimize SUI core to copy json-attr- to the prop in newJitComponentSel function
This commit is contained in:
parent
40ecbde86b
commit
99a77fdd8e
1 changed files with 1 additions and 0 deletions
|
|
@ -266,6 +266,7 @@ func (parser *TemplateParser) parseElementComponent(sel *goquery.Selection) {
|
|||
if _, exist := sel.Attr("json-attr-" + attr.Key); exist {
|
||||
val = ValueJSON(attr.Val)
|
||||
}
|
||||
key = ToCamelCase(key)
|
||||
props[key] = val
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue