mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-07 02:47:12 +00:00
feat: add deviceMapper to adaptor different components lib
This commit is contained in:
parent
3bcf34926d
commit
b807597be9
@ -194,6 +194,9 @@ export class BuiltinSimulatorHost implements ISimulatorHost<BuiltinSimulatorProp
|
|||||||
}
|
}
|
||||||
|
|
||||||
get(key: string): any {
|
get(key: string): any {
|
||||||
|
if (key === 'device') {
|
||||||
|
return this.designer?.editor?.get('deviceMapper')?.transform?.(this._props.device) || this._props.device
|
||||||
|
}
|
||||||
return this._props[key];
|
return this._props[key];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user