mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-18 21:38:14 +00:00
feat: add label for i18n setter in slots
This commit is contained in:
parent
9bf2e3b4ef
commit
b298c18a94
@ -369,7 +369,14 @@ export function upgradePropConfig(config: OldPropConfig, addInitial: AddIntial)
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
if (allowTextInput !== false) {
|
if (allowTextInput !== false) {
|
||||||
setters.unshift('I18nSetter');
|
setters.unshift({
|
||||||
|
componentName: 'I18nSetter',
|
||||||
|
title: {
|
||||||
|
'type': 'i18n',
|
||||||
|
'zh-CN': '国际化输入',
|
||||||
|
'en-US': 'Internationalized Input'
|
||||||
|
},
|
||||||
|
});
|
||||||
}
|
}
|
||||||
if (supportVariable) {
|
if (supportVariable) {
|
||||||
setters.push('VariableSetter');
|
setters.push('VariableSetter');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user