feat:fix alignmnet typo

This commit is contained in:
pengfei.zhou
2020-01-03 13:35:40 +08:00
committed by osborn
parent 08654fb1fe
commit 624e90e4a8
16 changed files with 65 additions and 103 deletions

View File

@@ -96,7 +96,7 @@ export class LayoutConfigImpl implements LayoutConfig, Modeling {
return this
}
configAlignmnet(a: Gravity) {
configAlignment(a: Gravity) {
this.alignment = a
return this
}

View File

@@ -45,7 +45,7 @@ export class Refreshable extends Superview implements IRefreshable {
toModel() {
this.dirtyProps.content = this.content.viewId
this.dirtyProps.header = (this.header || {}).viewId
this.dirtyProps.header = ((this.header || {}) as any).viewId
return super.toModel()
}
}