iOS:add ListItem actions api
This commit is contained in:
@@ -193,7 +193,7 @@ export abstract class View implements Modeling {
|
||||
if (newV instanceof Function) {
|
||||
newV = this.callback2Id(newV)
|
||||
} else {
|
||||
newV = obj2Model(newV)
|
||||
newV = obj2Model(newV, (v) => this.callback2Id(v))
|
||||
}
|
||||
if (this.__dirty_props__ === undefined) {
|
||||
this.__dirty_props__ = {}
|
||||
|
@@ -199,7 +199,7 @@ export abstract class View implements Modeling {
|
||||
if (newV instanceof Function) {
|
||||
newV = this.callback2Id(newV)
|
||||
} else {
|
||||
newV = obj2Model(newV)
|
||||
newV = obj2Model(newV, (v) => this.callback2Id(v))
|
||||
}
|
||||
this.__dirty_props__[propKey] = newV
|
||||
}
|
||||
|
Reference in New Issue
Block a user