Commit 963af422389f123fef0f19042a258d4fdfe276ae

Authored by ww
1 parent 2f870d87

fix: 修复数据动效显示隐藏动效启用时未设置标签时会回显最新值

... ... @@ -90,7 +90,7 @@ export class DataDynamicEffectHandler {
90 90 node.classList.add(ActAnimationName.VISIBLE)
91 91 node.classList.remove(ActAnimationName.HIDDEN)
92 92 })
93   - this.nodeUtils.updateCellValue(cell, record?.title ? record.title : latestValue)
  93 + record?.title && this.nodeUtils.updateCellValue(cell, record?.title)
94 94 }
95 95 else if (type === ActRangListItemTypeEnum.HIDDEN) {
96 96 nodeEl.forEach((node) => {
... ...
... ... @@ -27,7 +27,6 @@ export class MessageHandler {
27 27
28 28 const { commandSource } = telemetrySubscriber
29 29 const { dataType } = commandSource
30   -
31 30 if (dataType === DataSourceTypeEnum.DATASOURCE)
32 31 this.updateDataSource(commandSource, message)
33 32 else if (dataType === DataSourceTypeEnum.ACT)
... ...