Showing
1 changed file
with
1 additions
and
1 deletions
@@ -14789,7 +14789,7 @@ class HandleDataSource { | @@ -14789,7 +14789,7 @@ class HandleDataSource { | ||
14789 | if ((style || '').includes(imagePath)) return | 14789 | if ((style || '').includes(imagePath)) return |
14790 | const sendValue = getSendValue(type) | 14790 | const sendValue = getSendValue(type) |
14791 | node.setStyle(style.replace(reg, `image=${imagePath}`)) | 14791 | node.setStyle(style.replace(reg, `image=${imagePath}`)) |
14792 | - node.setAttribute('label', '') | 14792 | + // node.setAttribute('label', '') |
14793 | node.setAttribute(SWITCH_VALUE, receiveValue) | 14793 | node.setAttribute(SWITCH_VALUE, receiveValue) |
14794 | node.setAttribute(SWITCH_SEND_VALUE, sendValue) | 14794 | node.setAttribute(SWITCH_SEND_VALUE, sendValue) |
14795 | node.setAttribute(SWITCH_STATE, type) | 14795 | node.setAttribute(SWITCH_STATE, type) |