fix: settingfield添加props修复地区组件切换类型报错

This commit is contained in:
xiaoxian.xlf 2020-05-05 14:07:48 +08:00
parent 7c3d9ca248
commit 88348f7612

View File

@ -180,6 +180,11 @@ export class SettingPropEntry implements SettingEntry {
return this.top;
}
// add settingfield props
get props() {
return this.top;
}
onValueChange(func: () => any) {
this.emitter.on('valuechange', func);