Commit 79b730c3ff6b7eaaff0a0dbb2c3914d274a96dc0

Authored by xp.Huang
2 parents 2f870d87 0540cea6

Merge branch 'main_dev' into 'main'

Main dev

See merge request yunteng/thingskit-scada!233
@@ -90,7 +90,7 @@ export class DataDynamicEffectHandler { @@ -90,7 +90,7 @@ export class DataDynamicEffectHandler {
90 node.classList.add(ActAnimationName.VISIBLE) 90 node.classList.add(ActAnimationName.VISIBLE)
91 node.classList.remove(ActAnimationName.HIDDEN) 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 else if (type === ActRangListItemTypeEnum.HIDDEN) { 95 else if (type === ActRangListItemTypeEnum.HIDDEN) {
96 nodeEl.forEach((node) => { 96 nodeEl.forEach((node) => {
@@ -27,7 +27,6 @@ export class MessageHandler { @@ -27,7 +27,6 @@ export class MessageHandler {
27 27
28 const { commandSource } = telemetrySubscriber 28 const { commandSource } = telemetrySubscriber
29 const { dataType } = commandSource 29 const { dataType } = commandSource
30 -  
31 if (dataType === DataSourceTypeEnum.DATASOURCE) 30 if (dataType === DataSourceTypeEnum.DATASOURCE)
32 this.updateDataSource(commandSource, message) 31 this.updateDataSource(commandSource, message)
33 else if (dataType === DataSourceTypeEnum.ACT) 32 else if (dataType === DataSourceTypeEnum.ACT)