alibaba / alibaba/lowcode-engine
如何全局和局部隐藏设置器右侧的绑定变量按钮
- Vorherrschende Sprache
- TypeScript
- Sterne
- 15.9k
- Forks
- 2.7k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
开发的自定义组件,在属性设置器每项右侧都有绑定变量按钮,请问如何能够分别全局和局部禁用。
通过查看引擎源码和在群里请教,了解与supportVariable || supportVariableGlobally这两个属性有关,但偿试没有效果,调试引擎界面卡死,我会再提一个issue。
以下是自定义物料中的配置:
`{
title: {
label: {
type: 'i18n',
'en-US': 'indicator',
'zh-CN': '指标',
},
},
name: 'indicator',
supportVariable: false,
setter: {
componentName: 'IndicatorSetter',
props: {},
isRequired: false,
initialValue: [],
},
},`
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Start by tracing the engine source references to supportVariable and supportVariableGlobally, then inspect the custom material configuration for IndicatorSetter shown in the issue. Reproduce the global and local disabling attempts and the reported interface freeze. Done means determining the correct behavior or confirming a reproducible engine defect.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- typescript
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100