chore: add messages to IRendererProps

This commit is contained in:
JackLian 2022-11-24 11:46:31 +08:00 committed by 刘菊萍(絮黎)
parent 01ce70c06c
commit caffc0c020

View File

@ -98,10 +98,16 @@ export interface IRendererProps {
id?: string | number; id?: string | number;
/** 语言 */ /** 语言 */
locale?: string; locale?: string;
/**
*
* https://lowcode-engine.cn/lowcode 中 2.6 国际化多语言支持
* */
messages?: Record<string, any>;
/** 主要用于设置渲染模块的全局上下文,里面定义的内容可以在低代码中通过 this 来访问,比如 this.utils */ /** 主要用于设置渲染模块的全局上下文,里面定义的内容可以在低代码中通过 this 来访问,比如 this.utils */
appHelper?: IRendererAppHelper; appHelper?: IRendererAppHelper;
/** /**
* 使 * https://lowcode-engine.cn/lowcode
* 使
* *
* > * >
*/ */