mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 01:21:58 +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) {
|
||||
setters.unshift('I18nSetter');
|
||||
setters.unshift({
|
||||
componentName: 'I18nSetter',
|
||||
title: {
|
||||
'type': 'i18n',
|
||||
'zh-CN': '国际化输入',
|
||||
'en-US': 'Internationalized Input'
|
||||
},
|
||||
});
|
||||
}
|
||||
if (supportVariable) {
|
||||
setters.push('VariableSetter');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user