mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-19 05:48:17 +00:00
fix: 在设计器里,所有组件都需要展示,不管 condition 为何值
This commit is contained in:
parent
9eba7d9cdd
commit
0e7e03887b
@ -65,6 +65,11 @@ export class Prop implements IPropParent {
|
|||||||
export(stage: TransformStage = TransformStage.Save): CompositeValue | UNSET {
|
export(stage: TransformStage = TransformStage.Save): CompositeValue | UNSET {
|
||||||
const type = this._type;
|
const type = this._type;
|
||||||
|
|
||||||
|
// 在设计器里,所有组件都需要展示
|
||||||
|
if (stage === TransformStage.Render && this.key === '___condition___') {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
if (type === 'unset') {
|
if (type === 'unset') {
|
||||||
// return UNSET; @康为 之后 review 下这块改造
|
// return UNSET; @康为 之后 review 下这块改造
|
||||||
return undefined;
|
return undefined;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user