mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 19:52:51 +00:00
fix: missing engine options config info
fix: missing engine options config info
This commit is contained in:
parent
b4f463e7d4
commit
9ccded006e
@ -30,6 +30,11 @@ const VALID_ENGINE_OPTIONS = {
|
|||||||
default: 'default',
|
default: 'default',
|
||||||
description: '设备类型',
|
description: '设备类型',
|
||||||
},
|
},
|
||||||
|
deviceClassName: {
|
||||||
|
type: 'string',
|
||||||
|
default: undefined,
|
||||||
|
description: '指定初始化的 deviceClassName,挂载到画布的顶层节点上',
|
||||||
|
},
|
||||||
locale: {
|
locale: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: 'zh_CN',
|
default: 'zh_CN',
|
||||||
@ -131,6 +136,10 @@ export interface EngineOptions {
|
|||||||
* 设备类型,默认值:'default'
|
* 设备类型,默认值:'default'
|
||||||
*/
|
*/
|
||||||
device?: 'default' | 'mobile' | string;
|
device?: 'default' | 'mobile' | string;
|
||||||
|
/**
|
||||||
|
* 指定初始化的 deviceClassName,挂载到画布的顶层节点上
|
||||||
|
*/
|
||||||
|
deviceClassName?: string;
|
||||||
/**
|
/**
|
||||||
* 语言,默认值:'zh_CN'
|
* 语言,默认值:'zh_CN'
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user