mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 01:21:58 +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 {
|
||||
if (key === 'device') {
|
||||
return this.designer?.editor?.get('deviceMapper')?.transform?.(this._props.device) || this._props.device
|
||||
}
|
||||
return this._props[key];
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user