feat:fix subitem mixin of listitemnode in iOS

This commit is contained in:
pengfei.zhou
2019-11-19 16:15:54 +08:00
parent d7d2af8065
commit c3b656d539
7 changed files with 67 additions and 12 deletions

View File

@@ -54,6 +54,12 @@ class ListPanel extends Panel {
textSize: 20,
height: 50,
bgColor: Color.parse('#00ffff'),
}).also(it => {
let start = 0
it.onClick = () => {
log(`clicked text:${start}`)
it.text = `${start++}`
}
}),
]).also(it => {
it.layoutConfig = {