0
我可以賦值給一個變量屬性,但不是在這裏的數組? ...價值不被保留。將值賦給數組,值不保留?
Column {
id: table
property variant aa: [false, false] //issue... later
property variant bb: false //this works
...
Button {
anchors.top: parent.top
anchors.topMargin: 0//40
anchors.right: parent.right
anchors.rightMargin: 0//50
corpFarmAware: true
text: tr_NOOP("Next")
onClicked: {
table.aa[0] = false;
table.aa[1] = true;
cb0.checked = table.aa[0];//issue of arrays ??
cb1.checked = table.aa[1];
table.bb = true;
cb2.checked = table.bb;//WORKS
}
}