mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-20 23:52:28 +00:00
chore: 修复单测
This commit is contained in:
parent
11f14f93ee
commit
678e13c159
@ -101,7 +101,7 @@ export class Prop implements IPropParent {
|
|||||||
const type = this._type;
|
const type = this._type;
|
||||||
if (stage === TransformStage.Render && this.key === '___condition___') {
|
if (stage === TransformStage.Render && this.key === '___condition___') {
|
||||||
// 在设计器里,所有组件默认需要展示,除非开启了 enableCondition 配置
|
// 在设计器里,所有组件默认需要展示,除非开启了 enableCondition 配置
|
||||||
if (engineConfig.get('enableCondition') !== true) {
|
if (engineConfig?.get('enableCondition') !== true) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return this._value;
|
return this._value;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user